这是一个创建于 3875 天前的主题,其中的信息可能已经有所发展或是发生改变。
如题,我搜到的方法没有一个有用的……所以求助各位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>]
5 条回复 • 2015-08-05 12:12:02 +08:00
|
|
1
mantianyu 2014-04-21 01:07:22 +08:00 via Android
MTU 不够大? 改大点试试
|
|
|
2
Shieffan 2014-04-21 08:38:28 +08:00 via iPhone
我用google compute engine搭pptpd遇到了同样的问题,怀疑是googole的路由设备对GRE支持有问题
|
|
|
4
zhanghan276 2014-12-11 18:18:26 +08:00
本地路由的事儿 换ipsec+ l2tp吧 或者openvpn
|
|
|
5
xdz0611 2015-08-05 12:12:02 +08:00
谷歌官方回复不支持GRE转发的,所以PPTP不行,浪费了好多时间。。。 可以使用L2TP或者是OPENVPN,softether也行的。
|