yufw n00b
Joined: 11 Nov 2013 Posts: 57
|
Posted: Tue Jul 01, 2014 9:34 am Post subject: [SOLVED] PPTP VPN client setup problem |
|
|
I want to route all traffic through the PPTP VPN, I have installed pptpclient and the ppp0 interface is on as you can see in ifconfig output,
Code: | eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.101 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::9a4b:e1ff:feb8:30d8 prefixlen 64 scopeid 0x20<link>
ether 98:4b:e1:b8:30:d8 txqueuelen 1000 (Ethernet)
RX packets 111309 bytes 118331287 (112.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 131011 bytes 16856628 (16.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 229 bytes 19316 (18.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 229 bytes 19316 (18.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1496
inet 10.10.0.3 netmask 255.255.255.255 destination 10.10.0.1
ppp txqueuelen 3 (Point-to-Point Protocol)
RX packets 44 bytes 3203 (3.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 669 bytes 64756 (63.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sit0: flags=193<UP,RUNNING,NOARP> mtu 1480
inet6 ::127.0.0.1 prefixlen 96 scopeid 0x90<compat,host>
sit txqueuelen 0 (IPv6-in-IPv4)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlo1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether ec:55:f9:19:95:3b txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
| Then I replaced the default route so it looks like this,
Code: | Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
10.10.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
124.232.132.94 192.168.1.1 255.255.255.255 UGH 0 0 0 eno1
173.255.216.225 192.168.1.1 255.255.255.255 UGH 0 0 0 eno1
192.168.1.0 0.0.0.0 255.255.255.0 U 203 0 0 eno1
| 173.255.216.225 is the address of the VPN server, 192.168.1.1 is the default gateway.
After that, I cannot access anything on the Internet. I don't know whether it's pptpclient's problem or routing table's. However, I am sure the VPN server is good because I can connect to it in Windows. Could someone help me? |
|