Difference between revisions of "VPN PPTP"

From wiki.IPBRICK.COM
Jump to: navigation, search
Line 6: Line 6:
  
 
- ''ps ax | grep pptp''
 
- ''ps ax | grep pptp''
 +
 
- ''/etc/init.d/pptpd stop'' [stop the service]
 
- ''/etc/init.d/pptpd stop'' [stop the service]
 +
 
- Identify the process Id number of pptpd that is still running and force it to stop with the command:
 
- Identify the process Id number of pptpd that is still running and force it to stop with the command:
 +
 
- ''kill -9 <pid number>''
 
- ''kill -9 <pid number>''
 +
 
- ''/etc/init.d/pptpd start'' [start the service]
 
- ''/etc/init.d/pptpd start'' [start the service]
 
   
 
   
 
For example:
 
For example:
  
ipbrick:~# ps ax | grep pptp
+
ipbrick:~# ''ps ax | grep pptp''
  
 
4177 pts/4    S+    0:00 grep pptp
 
4177 pts/4    S+    0:00 grep pptp
 +
 
15088 ?        S      0:11 pptpd [89.152.241.114:FFE9 - 0F00]                                                                                                             
 
15088 ?        S      0:11 pptpd [89.152.241.114:FFE9 - 0F00]                                                                                                             
 +
 
15089 pts/0    Ss+    0:00 /usr/sbin/pppd local file /etc/ppp/pptpd-options 115200 192.168.0.151:192.168.0.152 ipparam 89.152.241.114 remotenumber 89.152.241.114
 
15089 pts/0    Ss+    0:00 /usr/sbin/pppd local file /etc/ppp/pptpd-options 115200 192.168.0.151:192.168.0.152 ipparam 89.152.241.114 remotenumber 89.152.241.114
 +
 
20619 ?        Ss    0:00 /usr/sbin/pptpd
 
20619 ?        Ss    0:00 /usr/sbin/pptpd
  
 
ipbrick:~#  
 
ipbrick:~#  
  
ipbrick:~# /etc/init.d/pptpd stop
+
ipbrick:~# ''/etc/init.d/pptpd stop''
  
 
Stopping PPTP: pptpd.
 
Stopping PPTP: pptpd.
Line 28: Line 35:
 
ipbrick:~#  
 
ipbrick:~#  
  
ipbrick:~# ps ax | grep pptp
+
ipbrick:~# ''ps ax | grep pptp''
  
 
4188 pts/4    S+    0:00 grep pptp
 
4188 pts/4    S+    0:00 grep pptp
Line 38: Line 45:
 
ipbrick:~#  
 
ipbrick:~#  
  
ipbrick:~# kill -9 15088
+
ipbrick:~# ''kill -9 15088''
  
ipbrick:~# ps ax | grep pptp
+
ipbrick:~# ''ps ax | grep pptp''
  
 
4235 pts/4    S+    0:00 grep pptp
 
4235 pts/4    S+    0:00 grep pptp
  
ipbrick:~# /etc/init.d/pptpd start
+
ipbrick:~# ''/etc/init.d/pptpd start''
  
 
Starting PPTP Daemon: pptpd.
 
Starting PPTP Daemon: pptpd.
  
ipbrick:~# ps ax | grep pptp
+
ipbrick:~# ''ps ax | grep pptp''
  
 
4242 ?        Ss    0:00 /usr/sbin/pptpd
 
4242 ?        Ss    0:00 /usr/sbin/pptpd

Revision as of 20:35, 14 December 2014

  • Know Issues

There is a know issue with VPN PPTP service. When this problem occurs VPN PPTP users will be able to establish a VPN connection but will not be able to access any internal network resources.

The workaround for this problem, version 6.0 update 1, is the following procedure to be executed in the CLI as root:

- ps ax | grep pptp

- /etc/init.d/pptpd stop [stop the service]

- Identify the process Id number of pptpd that is still running and force it to stop with the command:

- kill -9 <pid number>

- /etc/init.d/pptpd start [start the service]

For example:

ipbrick:~# ps ax | grep pptp

4177 pts/4 S+ 0:00 grep pptp

15088 ? S 0:11 pptpd [89.152.241.114:FFE9 - 0F00]

15089 pts/0 Ss+ 0:00 /usr/sbin/pppd local file /etc/ppp/pptpd-options 115200 192.168.0.151:192.168.0.152 ipparam 89.152.241.114 remotenumber 89.152.241.114

20619 ? Ss 0:00 /usr/sbin/pptpd

ipbrick:~#

ipbrick:~# /etc/init.d/pptpd stop

Stopping PPTP: pptpd.

ipbrick:~#

ipbrick:~# ps ax | grep pptp

4188 pts/4 S+ 0:00 grep pptp

15088 ? S 0:11 pptpd [89.152.241.114:FFE9 - 0F00]

15089 pts/0 Ss+ 0:00 /usr/sbin/pppd local file /etc/ppp/pptpd-options 115200 192.168.0.151:192.168.0.152 ipparam 89.152.241.114 remotenumber 89.152.241.114

ipbrick:~#

ipbrick:~# kill -9 15088

ipbrick:~# ps ax | grep pptp

4235 pts/4 S+ 0:00 grep pptp

ipbrick:~# /etc/init.d/pptpd start

Starting PPTP Daemon: pptpd.

ipbrick:~# ps ax | grep pptp

4242 ? Ss 0:00 /usr/sbin/pptpd

4244 pts/4 S+ 0:00 grep pptp

ipbrick:~#