Forum Discussion
Ryan_Rowe_79249
Nimbostratus
Sep 24, 2009Rule to use different SSL Profile
I need a rule that when someone comes in to point to a different SSL Cert profile (ie. address a,b,c use serverSSL; all others use client SSL)...would that be possible to do in 1 rules or should I cre...
L4L7_53191
Nimbostratus
Sep 24, 2009Here's an example that may help (from the SSL::enable command on the iRules wiki page):
when CLIENT_ACCEPTED {
if { !([IP::addr [IP::client_addr] eq 10.0.0.0/8]) } {
SSL::enable
TCP::release
set sslenable 0
}
The logic above essentially says "if it's a NOT a 10.x address, use SSL." You can easily enable/disable serverside or clientside SSL with the SSL::enable and SSL::disable commands. Have a look at:
http://devcentral.f5.com/wiki/default.aspx/iRules/SSL__enable.html
http://devcentral.f5.com/wiki/default.aspx/iRules/SSL__disable.html
HTH,
Matt
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
