Page 1 of 1

disabling open vpn for mobile devices

Posted: Fri Mar 15, 2024 2:44 pm
by rrmcguire
Is there a spot on the open vpn access server page where you can disable users from logging into ovpn from mobile devices?

thank you

Re: disabling open vpn for mobile devices

Posted: Fri Mar 15, 2024 10:30 pm
by openvpn_inc
Hello,

You can create a Post Authentication Script (PAS) to configure that condition to connect to the VPN:

+ If device is Android or iOS > DENY the VPN Connection

For more info about PAS:
https://openvpn.net/vpn-server-resource ... ion-script

You can also take the example of the MAC PAS and modify it to use the Platform instead of the MAC

Of course, this will need extra work and Python knowledge, but doable


Best Regards,

DynamoX