pptpclinet链接VPN错误,Arch系统

发布于 2022-09-04 18:38:06 字数 4451 浏览 25 评论 0

我在Arch系统中使用pptpclient链接VPN发生错误

用以下命令链接VPN

sudo pon myVpn debug dump logfd 2 nodetach 

调试信息如下

pppd options in effect:
debug           # (from command line)
nodetach                # (from command line)
logfd 2         # (from command line)
dump            # (from command line)
noauth          # (from /etc/ppp/options)
name dxcqcv             # (from /etc/ppp/peers/myVpn)
remotename PPTP         # (from /etc/ppp/peers/myVpn)
                # (from /etc/ppp/options)
pty pptp p1.hk3.flydidu.com --nolaunchpppd              # (from /etc/ppp/peers/myVpn)
crtscts         # (from /etc/ppp/options)
                # (from /etc/ppp/options)
asyncmap 0              # (from /etc/ppp/options)
mru 1400                # (from /etc/ppp/options)
mtu 1400                # (from /etc/ppp/options)
silent          # (from /etc/ppp/options)
lcp-echo-failure 4              # (from /etc/ppp/options)
lcp-echo-interval 30            # (from /etc/ppp/options)
hide-password           # (from /etc/ppp/options)
ipparam myVpn           # (from /etc/ppp/peers/myVpn)
proxyarp                # (from /etc/ppp/options)
usepeerdns              # (from /etc/ppp/peers/myVpn)
nobsdcomp               # (from /etc/ppp/options)
nodeflate               # (from /etc/ppp/options)
require-mppe-128                # (from /etc/ppp/peers/myVpn)
noipx           # (from /etc/ppp/options)
using channel 8
Using interface ppp0


Connect: ppp0 <--> /dev/pts/4
***Error: either "to" is duplicate, or "uid" is a garbage.***
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x80de6b20> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <mru 1400> <asyncmap 0x0> <magic 0xd2626b7a> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x80de6b20> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <mru 1400> <asyncmap 0x0> <magic 0xd2626b7a> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0xd2626b7a]
rcvd [LCP EchoReq id=0x0 magic=0x80de6b20]
sent [LCP EchoRep id=0x0 magic=0xd2626b7a]
rcvd [CHAP Challenge id=0x7d <94f97c87ea84a9097b3910d403d0ab14>, name = "pptpd"]
Warning - secret file /etc/ppp/chap-secrets has world and/or group access
added response cache entry 0
sent [CHAP Response id=0x7d <289521c7e2bf1d1a2d3bd8addb8b494e0000000000000000d8ae891c6114fbe4097ef6b89fef69e516540b92f2198a3e00>, name = "dxcqcv"]
rcvd [LCP EchoRep id=0x0 magic=0x80de6b20]
rcvd [CHAP Success id=0x7d "S=A37F545150DBF921600B0B681B1E1ADDD7238617"]
response found in cache (entry 0)
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
sent [CCP ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
MPPE 128-bit stateless compression enabled
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]

rcvd [IPCP ConfReq id=0x1 <addr 10.10.0.1>]
sent [IPCP ConfAck id=0x1 <addr 10.10.0.1>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <addr 10.10.0.21> <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
sent [IPCP ConfReq id=0x3 <addr 10.10.0.21> <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
rcvd [IPCP ConfAck id=0x3 <addr 10.10.0.21> <ms-dns1 8.8.8.8> <ms-dns2 8.8.4.4>]
Cannot determine ethernet address for proxy ARP
local  IP address 10.10.0.21
remote IP address 10.10.0.1
primary   DNS address 8.8.8.8
secondary DNS address 8.8.4.4
Script /etc/ppp/ip-up started (pid 8055)
Script /etc/ppp/ip-up finished (pid 8055), status = 0x0

完成VPN链接后,我用以下命令路由流量

sudo ip route replace default dev ppp0 

随后发生错误

Script pptp p1.hk3.flydidu.com --nolaunchpppd finished (pid 8047), status = 0x0
Modem hangup
**Connect time 2.0 minutes.
Sent 851273846 bytes, received 0 bytes.**
Script /etc/ppp/ip-down started (pid 8097)
MPPE disabled
sent [LCP TermReq id=0x2 "MPPE disabled"]
Connection terminated.
Waiting for 1 child processes...
  script /etc/ppp/ip-down, pid 8097
Script /etc/ppp/ip-down finished (pid 8097), status = 0x0

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文