Forum Discussion
vvskaladhar_488
Jun 22, 2018Nimbostratus
Irule for restricting selected ips for NOT USING TLSV1 and 1.1
Hello All,
I have requirement of use an iRules in F5 to enable TLS V1.0 and 1.1 only for Selected IP addresses or IP ranges. and enable only TLS 1.2 for all remaining .
I have tried the irule below...
- Jun 27, 2018
matchclass ...
Note: matchclass has been deprecated in v10 in favor of the new commands. The class command offers better functionality and performance than matchclass.
Inserting the appropriate class command into this iRule would look something like this:
when CLIENT_ACCEPTED { if { [class match [IP::client_addr] equals TLSV1.0_1.1_Enable ]} { SSL::profile example_profile_enable_weak_TLS } else { SSL::profile example_profile_disable_weak_TLS } }
kcrawford4597_1
Jun 27, 2018Historic F5 Account
matchclass ...
Note: matchclass has been deprecated in v10 in favor of the new commands. The class command offers better functionality and performance than matchclass.
Inserting the appropriate class command into this iRule would look something like this:
when CLIENT_ACCEPTED {
if { [class match [IP::client_addr] equals TLSV1.0_1.1_Enable ]} {
SSL::profile example_profile_enable_weak_TLS
} else {
SSL::profile example_profile_disable_weak_TLS
}
}
- vvskaladhar_488Jun 28, 2018Nimbostratus
thank you so much
this worked.
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