pptp-linux连接上PPTP后无法上网

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
hackerlongo
帖子: 1
注册时间: 2018-12-11 15:18
系统: ubuntu16.04

pptp-linux连接上PPTP后无法上网

#1

帖子 hackerlongo » 2018-12-11 15:25

使用pptp-linux 连接上pptp vpn
ifconfig 网卡列表中已经有ppp0 网卡,路由中也有了相应的配置,但是就是无法通过ppp0上网。
通过tcpdump 工具查看与 vpn server的通信信息,有心跳包随时在发送和接受,排除外部网络问题。

代码: 全选

 #vpn server 地址114.203.39.13
 
ppp0  Link encap:Point-to-Point Protocol  
          inet addr:192.168.0.12  P-t-P:192.168.0.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:62 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:8275 (8.2 KB)  TX bytes:1128 (1.1 KB)

root@ubuntu:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         222.231.9.1     0.0.0.0         UG    0      0        0 enp0s25
114.203.39.13  222.231.9.1     255.255.255.255 UGH   0      0        0 enp0s25 
172.17.0.0      0.0.0.0         255.255.0.0     U     0      0        0 docker0
192.168.0.1     0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
请问是哪里配置有问题?
回复