我刚刚订阅了 VPN 服务 (PureVPN),并在网络管理器中正确设置了点对点设置。
现在,如果我在网站上检查我的 IP 地址,它仍然显示我常用的公共 IP 地址 (2404:e800:e622:789:b5bd:51e:fe3b:1770)。
我检查了我的 ifconfig:
eth0 Link encap:Ethernet HWaddr dc:0e:a1:54:70:c6
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:11195 errors:0 dropped:0 overruns:0 frame:0
TX packets:11195 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:1071469 (1.0 MB) TX bytes:1071469 (1.0 MB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:136.0.6.62 P-t-P:136.0.6.5 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:4636 (4.6 KB) TX bytes:4701 (4.7 KB)
wlan0 Link encap:Ethernet HWaddr 64:27:37:64:03:a6
inet addr:192.168.0.15 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::7af3:1eee:6abe:6315/64 Scope:Link
inet6 addr: 2404:e800:e622:789:34f2:6622:3f06:cbf8/64 Scope:Global
inet6 addr: 2404:e800:e622:789:b5bd:51e:fe3b:1770/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:178921 errors:0 dropped:0 overruns:0 frame:95588
TX packets:116198 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:178670255 (178.6 MB) TX bytes:14711282 (14.7 MB)
Interrupt:17
还有我的路由表:
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 50 0 0 ppp0
0.0.0.0 192.168.0.1 0.0.0.0 UG 600 0 0 wlan0
136.0.6.2 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
136.0.6.5 0.0.0.0 255.255.255.255 UH 50 0 0 ppp0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlan0
我希望所有流量都经过 ppp0,但似乎并非如此,所有流量仍然经过 wlan0。
我有什么遗漏的吗?
我使用的是 Ubuntu 16.04。