第一次在LINODE 上装PPTP VPN, 能登陆VPN,但上不了网,不知道什么情况,有懂的朋友帮忙看一下!

2012-08-04 11:34:23 +08:00
 btwo
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 参考这篇文章做的!
5968 次点击
所在节点    Linode
43 条回复
venngomez
2012-09-02 07:35:15 +08:00
@miao ssh tunnel 可以翻墙?
在linode vpn 上要安装什么样的东西才可完全翻墙?
yuanalexwu
2012-09-02 21:25:03 +08:00
iptables -A FORWARD -s 192.168.0.0/24 -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1200
lisonic
2013-07-23 19:35:26 +08:00
我在win7上是正常的,而在 iPhone 上能连上不走数据是什么原因

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/44254

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX