enabled firewall support
This commit is contained in:
1 parent
f9aa9e2977
commit
957115957a
36 files changed
+94
-32
No files matched your search
@@ -9,13 +9,14 @@ conn %default
|
||||
keylife=20m
|
||||
rekeymargin=3m
|
||||
keyingtries=1
|
||||
keyexchange=ikev2
|
||||
|
||||
conn host-host
|
||||
right=PH_IP_MOON
|
||||
rightnexthop=%direct
|
||||
rightcert=moonCert.pem
|
||||
rightid=@moon.strongswan.org
|
||||
rightfirewall=yes
|
||||
left=PH_IP_SUN
|
||||
leftid=@sun.strongswan.org
|
||||
keyexchange=ikev2
|
||||
auto=add
|
||||
@@ -9,13 +9,14 @@ conn %default
|
||||
keylife=20m
|
||||
rekeymargin=3m
|
||||
keyingtries=1
|
||||
keyexchange=ikev2
|
||||
|
||||
conn host-host
|
||||
right=PH_IP_SUN
|
||||
rightnexthop=%direct
|
||||
rightcert=sunCert.pem
|
||||
rightid=@sun.strongswan.org
|
||||
rightfirewall=yes
|
||||
left=PH_IP_MOON
|
||||
leftid=@moon.strongswan.org
|
||||
keyexchange=ikev2
|
||||
auto=add
|
||||
@@ -1,2 +1,6 @@
|
||||
moon::iptables -v -n -L
|
||||
sun::iptables -v -n -L
|
||||
moon::ipsec stop
|
||||
sun::ipsec stop
|
||||
moon::/etc/init.d/iptables stop 2> /dev/null
|
||||
sun::/etc/init.d/iptables stop 2> /dev/null
|
||||
@@ -1,3 +1,5 @@
|
||||
moon::/etc/init.d/iptables start 2> /dev/null
|
||||
sun::/etc/init.d/iptables start 2> /dev/null
|
||||
moon::ipsec start
|
||||
sun::ipsec start
|
||||
moon::sleep 1
|
||||
|
||||
Reference in new issue
Block a user