Difference between revisions of "VPN PPTP"

From wiki.IPBRICK.COM
Jump to: navigation, search
Line 23: Line 23:
 
   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:~#  
Line 30: Line 29:
 
ipbrick:~# ''/etc/init.d/pptpd stop''
 
ipbrick:~# ''/etc/init.d/pptpd stop''
  
Stopping PPTP: pptpd.
+
  Stopping PPTP: pptpd.
  
 
ipbrick:~#  
 
ipbrick:~#  
Line 36: Line 35:
 
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
 
+
  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
+
  
 
ipbrick:~#  
 
ipbrick:~#  
Line 48: Line 45:
 
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''
Line 56: Line 53:
 
ipbrick:~# ''ps ax | grep pptp''
 
ipbrick:~# ''ps ax | grep pptp''
  
4242 ?        Ss    0:00 /usr/sbin/pptpd
+
  4242 ?        Ss    0:00 /usr/sbin/pptpd
 
+
  4244 pts/4    S+    0:00 grep pptp
4244 pts/4    S+    0:00 grep pptp
+
  
 
ipbrick:~#
 
ipbrick:~#

Revision as of 20:40, 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:~#