hwdsl2 / setup-ipsec-vpn

Scripts to build your own IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Other
25.4k stars 6.34k forks source link

macos连接ikev2正常,但是L2TP/IPSEC和Cisco IPSEC均无法连接 #1575

Closed uamrws closed 4 months ago

uamrws commented 4 months ago

任务列表

问题描述

日志

  1. 服务器日志
    2024-07-18T06:44:13.498814+00:00 ipsec-vpn-server pluto[707]: "l2tp-psk"[7] 103.91.177.86 #20: responding to Main Mode from unknown peer 103.91.177.86:1011
    2024-07-18T06:44:13.499377+00:00 ipsec-vpn-server pluto[707]: "l2tp-psk"[7] 103.91.177.86 #20: sent Main Mode R1
  2. 客户端日志
    • L2TP/IPSEC
      Thu Jul 18 14:44:13 2024 : publish_entry SCDSet() failed: Success!
      Thu Jul 18 14:44:13 2024 : publish_entry SCDSet() failed: Success!
      Thu Jul 18 14:44:13 2024 : l2tp_get_router_address
      Thu Jul 18 14:44:13 2024 : l2tp_get_router_address x.x.x.x from dict 1
      Thu Jul 18 14:44:13 2024 : L2TP connecting to server 'myvpn.server' (x.x.x.x)...
      Thu Jul 18 14:44:13 2024 : IPSec connection started
      Thu Jul 18 14:44:13 2024 : IPSec phase 1 client started
      Thu Jul 18 14:44:13 2024 : IPSec phase 1 server replied
      Thu Jul 18 14:44:43 2024 : IPSec connection failed

服务器信息(请填写以下信息)

客户端信息(请填写以下信息)

uamrws commented 4 months ago

已解决,openwrt 默认开启了Turbo ACC 网络加速设置,里面有一个"Shortcut-FE 流量分载" 功能,这个打开导致的。 image