How to stop pptpd even when there are active vpn client connections?
Posted
by
Michael Z
on Server Fault
See other posts from Server Fault
or by Michael Z
Published on 2012-01-01T22:09:07Z
Indexed on
2013/10/28
9:56 UTC
Read the original article
Hit count: 390
After issued command to stop pptpd, the pptpd won't stop until all the VPN client has disconnected. The following code shows pptpd is still running after issuing the stop command.
ubuntu@ip-10-138-31-87:~$ sudo /etc/init.d/pptpd stop
Stopping PPTP: pptpd.
ubuntu@ip-10-138-31-87:~$ ps -ef |grep pptpd
root 5524 1 0 21:46 ? 00:00:00 pptpd [<myIp>:8544 - 0000]
root 5525 5524 0 21:46 pts/1 00:00:00 /usr/sbin/pppd local file /etc/ppp/pptpd-options 115200 192.168.0.1:192.168.0.234 ipparam <myIP> plugin /usr/lib/pptpd/pptpd-logwtmp.so pptpd-original-ip <myIP>
ubuntu 5564 4668 0 21:50 pts/4 00:00:00 grep --color=auto pptpd
After all the active vpn client connections were disconnected mannually, the pptpd then stops. Is there a way that pptpd can be forced to stop even there are active vpn client connections?
© Server Fault or respective owner