PPTP VPN 链接错误: GRE: Bad checksum from pppd

2014-04-21 00:23:33 +08:00
 mengzhuo
如题,我搜到的方法没有一个有用的……所以求助各位V大神了

配置:

option /etc/ppp/pptpd-options
name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
# Require MPPE 128-bit encryption
# (note that MPPE requires the use of MSCHAP-V2 during authentication)
require-mppe-128
# }}}
mppe-stateful
s-dns 8.8.8.8
ms-dns 8.8.4.4

# If pppd is acting as a server for Microsoft Windows or "Samba"
# clients, this option allows pppd to supply one or two WINS (Windows
# Internet Name Services) server addresses to the clients. The first
# instance of this option specifies the primary WINS address; the
# second instance (if given) specifies the secondary WINS address.
ms-wins 127.0.0.1
proxyarp

# Debian: do not replace the default route
nodefaultroute


# Logging

# Enable connection debugging facilities.
# (see your syslog configuration for where pppd sends to)
debug

# Print out all the option values which have been set.
# (often requested by mailing list to verify options)
#dump


# Miscellaneous

# Create a UUCP-style lock file for the pseudo-tty to ensure exclusive
# access.
lock

# Disable BSD-Compress compression
nobsdcomp
nopcomp
noaccomp

remoteip 192.168.0.100-200

syslog
Apr 20 16:21:09 HND-A pppd[25476]: pptpd-logwtmp: $Version$
Apr 20 16:21:09 HND-A pppd[25476]: pppd 2.4.5 started by meng, uid 0
Apr 20 16:21:09 HND-A pppd[25476]: using channel 28
Apr 20 16:21:09 HND-A pppd[25476]: Using interface ppp0
Apr 20 16:21:09 HND-A pppd[25476]: Connect: ppp0 <--> /dev/pts/5
Apr 20 16:21:09 HND-A pppd[25476]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x43b5e70c>]
Apr 20 16:21:09 HND-A pptpd[25475]: GRE: Bad checksum from pppd.
Apr 20 16:21:12 HND-A pppd[25476]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x43b5e70c>]
8100 次点击
所在节点    问与答
5 条回复
mantianyu
2014-04-21 01:07:22 +08:00
MTU 不够大? 改大点试试
Shieffan
2014-04-21 08:38:28 +08:00
我用google compute engine搭pptpd遇到了同样的问题,怀疑是googole的路由设备对GRE支持有问题
mengzhuo
2014-04-21 09:32:42 +08:00
@mantianyu

嗯……调整了以后还是不行
zhanghan276
2014-12-11 18:18:26 +08:00
本地路由的事儿
换ipsec+ l2tp吧 或者openvpn
xdz0611
2015-08-05 12:12:02 +08:00
谷歌官方回复不支持GRE转发的,所以PPTP不行,浪费了好多时间。。。
可以使用L2TP或者是OPENVPN,softether也行的。

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

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

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

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

© 2021 V2EX