Page 1 of 1
Mobile device only
Posted: Mon Dec 18, 2017 6:23 pm
by simplecode678
Hi,
Can anyone please let me know how to make it works on mobile devices only ? What should i change ?
thanks !
Raz
Re: Mobile device only
Posted: Mon Dec 18, 2017 6:29 pm
by simplecode678
i mean i have a openvpn server, and target is to let clients only use mobile devices, no computer will be allowed.
Re: Mobile device only
Posted: Mon Dec 18, 2017 6:56 pm
by simplecode678
may be this will make sense for you
https://serverfault.com/questions/83482 ... ents-by-os
but not for a newbie like me, need to better understand that to set it on debian

they want to block mobile devices, i want to make a vpn server for mobile devices only
Re: Mobile device only
Posted: Tue Dec 19, 2017 8:34 pm
by TinCanTech
Openvpn uses --push-peer-info to push some variables to the server .. you could theoretically use those elements in a --client-connect script to filter clients by OS. See --
push-peer-info in
The Manual v24x
Re: Mobile device only
Posted: Wed Dec 20, 2017 8:55 am
by simplecode678
TinCanTech wrote: ↑Tue Dec 19, 2017 8:34 pm
Openvpn uses --push-peer-info to push some variables to the server .. you could theoretically use those elements in a --client-connect script to filter clients by OS. See --
push-peer-info in
The Manual v24x
Thanks i will check !

Re: Mobile device only
Posted: Wed Dec 20, 2017 10:41 am
by simplecode678
I'm on debian so and i use a simple script done on
https://github.com/Angristan/OpenVPN-install the most simple i have found
so if i do understand well i do use --push-peer-info with iptables and drop os that i do not need ?
To complicated for a newbie...
anyone to help ? as i said i used an install script, because openvpn is realy new to me...
Re: Mobile device only
Posted: Wed Dec 20, 2017 12:35 pm
by TinCanTech
Re: Mobile device only
Posted: Wed Dec 20, 2017 1:42 pm
by simplecode678
I give up too complicated