PPP adapter VPN:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.217.234
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 192.168.217.234
DNS Servers . . . . . . . . . . . : 8.8.8.8
8.8.4.4
有点奇怪,默认的网关不应该是VPN的服务器IP吗?192.168.217.1?
iptables:
root@mail:/etc/init.d# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- 192.168.9.0/24 anywhere
MASQUERADE all -- 192.168.217.0/24 anywhere
http://www.vpser.net/manage/linode-vps-pptp-vpn-howto.html 参考这篇文章做的!
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.217.234
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 192.168.217.234
DNS Servers . . . . . . . . . . . : 8.8.8.8
8.8.4.4
有点奇怪,默认的网关不应该是VPN的服务器IP吗?192.168.217.1?
iptables:
root@mail:/etc/init.d# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- 192.168.9.0/24 anywhere
MASQUERADE all -- 192.168.217.0/24 anywhere
http://www.vpser.net/manage/linode-vps-pptp-vpn-howto.html 参考这篇文章做的!