全球主机交流论坛
标题:
BuyVM openvz/ Ubuntu pptpd 设置疑问请教
[打印本页]
作者:
mixedsignal
时间:
2010-9-24 00:31
标题:
BuyVM openvz/ Ubuntu pptpd 设置疑问请教
根据 henry42, ajdits的教导
http://443502.xyz/viewthrea ... p;extra=&page=3
,
在buyvm openvz (Ubuntu 10.04)安装pptpd, 在家中WindowsPC通过pptp连接VPS可以正常接入,但接入后无法连接任何网站,
Windows PC 的连接属性如下:
PPP adapter BuyVMVPS:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.0.234
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 192.168.0.234
DNS Servers . . . . . . . . . . . : 8.8.8.8
8.8.4.4
复制代码
考虑可能是iptables的问题,/sbin/iptables -L结果如下: (麻烦高手分析一下问题是否是NAT设置)
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
TCPMSS tcp -- 192.168.10.0/24 anywhere tcp flags:FIN,SYN,RST,ACK/SYN TCPMSS set 1356
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
复制代码
作者:
greensnow
时间:
2010-9-24 00:40
贴iptables -t nat -L
作者:
mixedsignal
时间:
2010-9-24 00:49
结果如下,多谢帮助!
作者:
greensnow
时间:
2010-9-24 00:52
nat没什么问题呀,ip_forward在buyvm应该也是设置好的,要不把mtu设置小一点吧
[
本帖最后由 greensnow 于 2010-9-24 00:53 编辑
]
作者:
feiyd
时间:
2010-9-24 02:52
你的ip 是 192.168.0.*
iptable 是 192.168.10.0/24
欢迎光临 全球主机交流论坛 (https://443502.xyz/)
Powered by Discuz! X3.4