Difference between revisions of "VPN PPTP"

From wiki.IPBRICK.COM
Jump to: navigation, search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
* Know Issues
+
* Known 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.
+
There is a know issue with VPN PPTP service in version 6.0 update 1. 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:
+
The workaround for this problem is the following procedure to be executed in the CLI as root:
  
 
- ''ps ax | grep pptp''
 
- ''ps ax | grep pptp''
Line 16: Line 16:
 
   
 
   
 
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 [88.152.241.124: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 88.152.241.124 remotenumber 88.152.241.124
 
+
  20619 ?        Ss    0:00 /usr/sbin/pptpd
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:~#  
Line 31: Line 29:
 
ipbrick:~# ''/etc/init.d/pptpd stop''
 
ipbrick:~# ''/etc/init.d/pptpd stop''
  
Stopping PPTP: pptpd.
+
  Stopping PPTP: pptpd.
  
 
ipbrick:~#  
 
ipbrick:~#  
Line 37: 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 [88.152.241.124: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 88.152.241.124 remotenumber 88.152.241.124
 
+
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 49: 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 57: 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:~#

Latest revision as of 20:47, 14 December 2014

  • Known Issues

There is a know issue with VPN PPTP service in version 6.0 update 1. 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 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 [88.152.241.124: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 88.152.241.124 remotenumber 88.152.241.124
 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 [88.152.241.124: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 88.152.241.124 remotenumber 88.152.241.124

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:~#