Up and Down script to prevent multi login

Scripts which allow the use of special authentication methods (LDAP, AD, MySQL/PostgreSQL, etc).

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
princedastan79
OpenVpn Newbie
Posts: 7
Joined: Mon Jun 01, 2015 8:01 am

Up and Down script to prevent multi login

Post by princedastan79 » Sun Jul 05, 2015 9:50 am

Hello is there any expert who can help me for up and down script to disable users from multi login with the same username.

Im using auth-user-pass-verify script it's an mysql based users are via database. but i believe i can prevent multi login by using up and down script by connect and disconnect is there anyone who can help me? thanks in advanced.

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: Up and Down script to prevent multi login

Post by Traffic » Tue Jul 07, 2015 6:05 pm

See --client-connect and --client-disconnect in The Manual v23x

Post Reply