New on LowEndTalk? Please Register and read our Community Rules.
limit simultaneous connections per user in PPTP vpn
I'm running pptpd on a Debian Lenny box and I'm just wondering whether it's possible using poptop pptpd to limit the maximum number simultaneous VPN connections per user.
eg. john smith can only make a maximum of 1 connection at a time
I've tried using maxlogins /etc/security/limits.conf, however this does not work with ppp sessions
Any suggestions would be warmly welcomed
Comments
from what i've seen people add some lines to the pptp.ifup file and make it check for processes in ps -ef
Once it finds a matching one it kills the PID of that one.
Francisco
I believe this is what Fran is referencing...
http://poptop.sourceforge.net/dox/skwok/poptop_ads_howto_12.htm#oneconnection
Or try to make static IPs on your clients