17-Jan-2020 17:49
I am currently implementing F5 LTM.
I want to restrict access to virtual server by IP address and client certificate authentication.
If the client's IP is not in the address list, then the client can use client certificate authentication.
Is it possible?
Thanks.
18-Jan-2020 07:11
and add to that irule to switch the client ssl profile to one that requires client certificate authentication if the IP is not on the list and you got what you want. it isn't something you can just configure in the GUI, it will require some iRule code and different profiles.
20-Jan-2020 17:26
I have tried the following irule but not work.
when CLIENT_ACCEPTED {
set redir 0
if { ! [class match [IP::client_addr] eq EISAllow] } {
log local0. "Dropped connection: client IP [IP::client_addr] is blacklisted."
SSL::enable
set sslenable 0
set redir 1
SSL::profile Client_Cert_Auth_Policy
#drop
}
}
27-Jan-2020 10:33
you would enable a profile with SSL client auth by default. not enable it in the iRule.
30-Nov-2020 00:16
Is it possible to extend this solution to restrict access to specific client certificates?
13-Dec-2020 04:41
with iRules everything is possible 🙂
if your client certificates contain a certain CN your can request that and compare it with a list of allowed ones.
there should be enough examples around how to do this.