1
0
mirror of synced 2024-11-29 16:16:03 +03:00

Fix multiple devices simultaneously cannot connect from behind the same NAT

修复一个NAT下只能链接一个客户端问题.现在L2TP和XAUTH都可以在同一个内网中的多个设备同时登陆了.
This commit is contained in:
RainbowLand 2017-09-11 16:22:52 +08:00
parent 3f2b2cbc0b
commit 7bbd2f36a7

View File

@ -242,6 +242,8 @@ conn l2tp-psk
type=transport type=transport
phase2=esp phase2=esp
also=shared also=shared
leftnexthop=%defaultroute
rightnexthop=%defaultroute
conn xauth-psk conn xauth-psk
auto=add auto=add
@ -259,6 +261,8 @@ conn xauth-psk
ikev2=never ikev2=never
cisco-unity=yes cisco-unity=yes
also=shared also=shared
leftnexthop=%defaultroute
rightnexthop=%defaultroute
EOF EOF
# Specify IPsec PSK # Specify IPsec PSK