操作系统是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
And*_*edo 11
我遇到了同样的问题,并尝试了很多身份验证模式的组合来连接到Windows主机.
我解决了只MSCHAPv2在GUI界面中选择的离开.
小智 7
我有同样的问题(薄荷17)并发现了这个问题以及一堆教程,说明等.
就我而言,它在我的同伴文件中是一个缺失的条目.看看你的命令,我猜这将是/ etc/ppp/peers/vpn,条目是:file /etc/ppp/options.pptp
这是我的(我已经更改了主机,用户名和隧道名称):
# written by pptpsetup
pty "pptp vpn.foo.com --nolaunchpppd"
lock
noauth
nobsdcomp
nodeflate
name USERNAME
remotename vpn
file /etc/ppp/options.pptp
ipparam vpn
require-mppe-128
Run Code Online (Sandbox Code Playgroud)
如果没有该文件条目,我将收到您报告的相同的auth failure错误消息.
| 归档时间: |
|
| 查看次数: |
5977 次 |
| 最近记录: |