Fix multiple devices simultaneously cannot connect from behind the same NAT
修复一个NAT下只能链接一个客户端问题.现在L2TP和XAUTH都可以在同一个内网中的多个设备同时登陆了.
This commit is contained in:
parent
3f2b2cbc0b
commit
7bbd2f36a7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user