mengzhuo
V2EX  ›  问与答

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

  •  
  •   mengzhuo · Apr 21, 2014 · 8597 views
    This topic created in 4418 days ago, the information mentioned may be changed or developed.
    如题,我搜到的方法没有一个有用的……所以求助各位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 replies    2015-08-05 12:12:02 +08:00
    mantianyu
        1
    mantianyu  
       Apr 21, 2014 via Android
    MTU 不够大? 改大点试试
    Shieffan
        2
    Shieffan  
       Apr 21, 2014 via iPhone
    我用google compute engine搭pptpd遇到了同样的问题,怀疑是googole的路由设备对GRE支持有问题
    mengzhuo
        3
    mengzhuo  
    OP
       Apr 21, 2014
    @mantianyu

    嗯……调整了以后还是不行
    zhanghan276
        4
    zhanghan276  
       Dec 11, 2014
    本地路由的事儿
    换ipsec+ l2tp吧 或者openvpn
    xdz0611
        5
    xdz0611  
       Aug 5, 2015
    谷歌官方回复不支持GRE转发的,所以PPTP不行,浪费了好多时间。。。
    可以使用L2TP或者是OPENVPN,softether也行的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   971 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 22:14 · PVG 06:14 · LAX 15:14 · JFK 18:14
    ♥ Do have faith in what you're doing.