Author Topic: pptp vpn connection  (Read 740 times)

hadian

  • Guest
pptp vpn connection
« on: May 13, 2010, 04:05:52 AM »
i have installed PCLINUX 2010.1 . i do not have pptp connection in list of vpn s that can be created, though the linux-pptp package is installed. is there any other package that should be installed?
i have found an instruction at http://www.adminsehow.com/2010/04/connect-to-pptp-vpn-from-linux-only-by-one-command/  but i think there would be an easier way. in other distroes it can be done easily but in PCLINUX it can be created only for cisco and openvpn. why pptp can not be created the same way?
« Last Edit: May 13, 2010, 04:09:35 AM by hadian »

Offline gilado

  • Hero Member
  • *****
  • Posts: 538
Re: pptp vpn connection
« Reply #1 on: August 09, 2010, 12:28:22 PM »
It seems to be broken.  I have a working pptp client setup on 2009.2 that works. The same setup had worked on a machine I just upgraded to 2010, and does not anymore.  It seems to be related to routing.  My routing table after connecting is similar to the 2009.2 routing table except that there's no explicit route for the loopback device and the vpn server has an explicit route.  All other routes are in the table but they don't work.

Quote
[gilado@pclos2010 ~]$ route -N
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.9     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
65.xxx.xx.xx    10.0.0.1        255.255.255.255 UGH   0      0        0 eth1  <<< vpn server ip
10.125.2.0      192.168.0.9     255.255.255.0   UG    0      0        0 ppp0
10.0.0.0        0.0.0.0         255.255.255.0   U     35     0        0 eth1
10.108.59.0     192.168.0.9     255.255.255.0   UG    0      0        0 ppp0
10.125.129.0    192.168.0.9     255.255.255.0   UG    0      0        0 ppp0
192.168.0.0     192.168.0.9     255.255.255.0   UG    0      0        0 ppp0
169.254.0.0     0.0.0.0         255.255.0.0     U     35     0        0 eth1
0.0.0.0         10.0.0.1        0.0.0.0         UG    35     0        0 eth1

Quote
[gilado@pclos2009 ~]$ route -N
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.9     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
10.125.2.0      192.168.0.9     255.255.255.0   UG    0      0        0 ppp0
10.0.0.0        0.0.0.0         255.255.255.0   U     5     0        0 eth1
10.108.59.0     192.168.0.9     255.255.255.0   UG    0      0        0 ppp0
10.125.129.0    192.168.0.9     255.255.255.0   UG    0      0        0 ppp0
192.168.0.0     192.168.0.9     255.255.255.0   UG    0      0        0 ppp0
169.254.0.0     0.0.0.0         255.255.0.0     U     5     0        0 eth1
127.0.0.0    0.0.0.0    255.0.0.0    U   0     0          0 lo
0.0.0.0         10.0.0.1        0.0.0.0         UG    5     0        0 eth1


Offline gilado

  • Hero Member
  • *****
  • Posts: 538
Re: pptp vpn connection
« Reply #2 on: August 09, 2010, 12:49:21 PM »
OK the problem was the firewall. I disabled it and now things works.

I can post my config files, however, you'll need to edit them a bit. Specifically you'll need to edit the username and password and the routing table information if the network you connect to consist of multiple subnets. let me know