gpt4 book ai didi

ubuntu - pptpsetup 遇到错误 : "EAP: unknown authentication type 26; Naking"

转载 作者:太空宇宙 更新时间:2023-11-03 16:46:37 25 4
gpt4 key购买 nike

操作系统是ubuntu 12.04-lts,使用pptpsetup设置和发起VPN连接时,报:

    $sudo pptpsetup --create vpn --server xxx.xxx.xxx.xxx --username xxx --password xxx --encrypt --start    Connect: ppp0  /dev/pts/1    EAP: unknown authentication type 26; Naking    EAP: peer reports authentication failure    Connection terminated.

这是我的/etc/ppp/options.pptp 文件:

    # Lock the port    lock    # Authentication    # We don't need the tunnel server to authenticate itself    noauth    # We won't do PAP, EAP, CHAP, or MSCHAP, but we will accept MSCHAP-V2    # (you may need to remove these refusals if the server is not using MPPE)    refuse-pap    refuse-eap    refuse-chap    refuse-mschap    require-mppe-128    # Compression    # Turn off compression protocols we know won't be used    nobsdcomp    nodeflate

最佳答案

我遇到了同样的问题,并尝试了很多身份验证模式的组合来连接到 Windows 主机。

我解决了在 GUI 界面中只选择 MSCHAPv2 的问题。

关于ubuntu - pptpsetup 遇到错误 : "EAP: unknown authentication type 26; Naking",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17261368/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com