1
0
mirror of synced 2024-11-25 06:16:07 +03:00

Update ipsec.conf

- Replace obsolete keyword "virtual_private" with "virtual-private"
This commit is contained in:
hwdsl2 2017-09-27 21:41:24 -05:00
parent f8414c40f6
commit 536ac8f54b
2 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ cat > /etc/ipsec.conf <<EOF
version 2.0 version 2.0
config setup config setup
virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12,%v4:!$L2TP_NET,%v4:!$XAUTH_NET virtual-private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12,%v4:!$L2TP_NET,%v4:!$XAUTH_NET
protostack=netkey protostack=netkey
nhelpers=0 nhelpers=0
interfaces=%defaultroute interfaces=%defaultroute

View File

@ -213,7 +213,7 @@ cat > /etc/ipsec.conf <<EOF
version 2.0 version 2.0
config setup config setup
virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12,%v4:!$L2TP_NET,%v4:!$XAUTH_NET virtual-private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12,%v4:!$L2TP_NET,%v4:!$XAUTH_NET
protostack=netkey protostack=netkey
nhelpers=0 nhelpers=0
interfaces=%defaultroute interfaces=%defaultroute