V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
mengzhuo
V2EX  ›  问与答

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

  •  
  •   mengzhuo · 2014-04-21 00:23:33 +08:00 · 8100 次点击
    这是一个创建于 3904 天前的主题,其中的信息可能已经有所发展或是发生改变。
    如题,我搜到的方法没有一个有用的……所以求助各位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
    mantianyu
        1
    mantianyu  
       2014-04-21 01:07:22 +08:00 via Android
    MTU 不够大? 改大点试试
    Shieffan
        2
    Shieffan  
       2014-04-21 08:38:28 +08:00 via iPhone
    我用google compute engine搭pptpd遇到了同样的问题,怀疑是googole的路由设备对GRE支持有问题
    mengzhuo
        3
    mengzhuo  
    OP
       2014-04-21 09:32:42 +08:00
    @mantianyu

    嗯……调整了以后还是不行
    zhanghan276
        4
    zhanghan276  
       2014-12-11 18:18:26 +08:00
    本地路由的事儿
    换ipsec+ l2tp吧 或者openvpn
    xdz0611
        5
    xdz0611  
       2015-08-05 12:12:02 +08:00
    谷歌官方回复不支持GRE转发的,所以PPTP不行,浪费了好多时间。。。
    可以使用L2TP或者是OPENVPN,softether也行的。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2150 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 00:54 · PVG 08:54 · LAX 16:54 · JFK 19:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.