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
disabling open vpn for mobile devices
-
- OpenVpn Newbie
- Posts: 1
- Joined: Thu Mar 14, 2024 9:50 pm
- openvpn_inc
- OpenVPN Inc.
- Posts: 1333
- Joined: Tue Feb 16, 2021 10:41 am
Re: disabling open vpn for mobile devices
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
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
![Image](/download/file.php?avatar=g17_1613474857.png)
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support