Client disconnect routine
-
- Posts: 3
- Joined: Sat Apr 04, 2015 12:40 pm
Client disconnect routine
Is it possible to execute some command or script on linux VPN server on client disconnect?
-
- Posts: 3
- Joined: Sat Apr 04, 2015 12:40 pm
Re: Client disconnect routine
Smth like '--up cmd' and '--down cmd' for OpenVPN.
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Client disconnect routine
SoftEther VPN doesn't have such function.
Of course, you can create some script by using vpncmd or triggered by log.
Of course, you can create some script by using vpncmd or triggered by log.
-
- Posts: 3
- Joined: Sat Apr 04, 2015 12:40 pm
Re: Client disconnect routine
> some script by using vpncmd
And run this script by cron or smth like cron?
I was thinking about this way. But will use it only if it will be impossible to run such script by SoftEther. I have't seen anything to run scripts on client connect/disconnect.
And run this script by cron or smth like cron?
I was thinking about this way. But will use it only if it will be impossible to run such script by SoftEther. I have't seen anything to run scripts on client connect/disconnect.
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Client disconnect routine
Please refer this page.
http://stackoverflow.com/questions/4331 ... -a-command
http://stackoverflow.com/questions/4331 ... -a-command