我正在尝试使用以下命令在 OpenSUSE Leap 42.2 上设置 VPN 连接:
me@linux-box:~> sudo pptpsetup --create TUNNEL --server 172.16.100.2 --username 444182 --password 255553 --start
但我收到以下错误消息:
Using interface ppp0
Connect: ppp0 <--> /dev/pts/5
anon warn[open_inetsock:pptp_callmgr.c:329]: connect: Connection refused
anon fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection to 172.16.100.2
anon fatal[open_callmgr:pptp.c:479]: Call manager exited with error 256
Script pptp 172.16.100.2 --nolaunchpppd finished (pid 17988), status = 0x1
Modem hangup
Connection terminated.
另外,当尝试使用以下命令启动 VPN 时:
pppd call TUNNEL debug nodetach
我收到同样的错误消息。另外,当我关闭我的防火墙,我收到同样的错误消息。我想知道是否有人知道如何解决它。
答案1
实际上,我意识到 MikroTik v6.25 上的 PPTP 被禁用,即 IP 地址 172.16.100.2,这就是我无法连接到 VPN 服务器的原因。
在 MikroTik 上启用 PPTP 后,我可以像这样连接到服务器:
me@linux-box:~> sudo pppd call TUNNEL debug nodetach
using channel 15
Using interface ppp0
Connect: ppp0 <--> /dev/pts/5
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa905bd9b> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa905bd9b> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa905bd9b> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa905bd9b> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa905bd9b> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa905bd9b> <pcomp> <accomp>]