mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #139] TL-WAR1200L 能够建立连接,但无法拨号 #128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @UnoIoU on GitHub (Apr 12, 2019).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/139
我们在国外的一台服务器上建立了IPsec VPN,本地笔记本(macOS)能够连接并建立通道,
ifconfig ppp能够查看到创建的虚拟网卡,两端能够tracepath通。在路由器上,使用更改后的
ipsec.conf能够建立连接,但没有创建虚拟网卡,ifconfig ppp显示没有发现设备。路由器日志显示成功建立通道,但无法拨号。请问可以在 IPsec 服务器这端解决吗?
下面是截图:

路由器连接时pluto的日志:
路由器日志:

路由器连接时ifconfig ppp 输出

ipsec.conf文件内容:

@hwdsl2 commented on GitHub (Apr 12, 2019):
@UnoIoU 你好!Libreswan 的日志显示 IPsec 通道建立成功,问题可能出在
xl2tpd。试一下再次连接你的路由器,然后查看一下服务器上的 xl2tpd 日志是否有错误:另外,服务器上应该查看比如
ppp0而不是ppp。你可以尝试ifconfig -a。你的
ipsec.conf中的phase2alg和esp为重复参数,后者现在已经不再使用。参见 [1]。另外,3des-md5-modp1024语法格式不对。在 Libreswan 日志中你应该可以看到该错误。[1] https://libreswan.org/man/ipsec.conf.5.html