Hi, I set up server with 2 factors auth (username and PW + Host cert).
I enabled remote KERBEROS auth to allow my Active Directory domain users to authenticate in VPN.
I'd like to assign specific IPs (to use specific firewall rules in iptables) and managed to do so via client-config-dir.
Anyway, since usernames are case insensitive in Active directory, so i had to create a lot of files for each user with all the possible combinations (a bash script).
E.g.:
userfc1@domain.ext
Userfc1@domain.ext
uSerfc1@domain.ext
....
So my question is:
Is that possible to bind a configuration to the HOST Certificate instead of the username? I know it is possible when using the USER certificate to login, with the CN of the user, but I can't make it work with Host cert CN.
If not possible: is there a way to workaround this?
Thank You!