diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-06-28 21:33:51 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-06-28 21:33:51 +0000 |
commit | cea6634fdefd68d580ace904776d582e1498e034 (patch) | |
tree | 825ee0e4cfe2a7f5a0f3ffdbdac3d3531a4185f3 | |
parent | b9212e5a93468a5db49a52e36f5527ca6b9d937a (diff) | |
download | strongswan-cea6634fdefd68d580ace904776d582e1498e034.tar.bz2 strongswan-cea6634fdefd68d580ace904776d582e1498e034.tar.xz |
MobIKE requires iptables to open udp/4500
-rwxr-xr-x | testing/hosts/carol/etc/init.d/iptables | 4 | ||||
-rwxr-xr-x | testing/hosts/dave/etc/init.d/iptables | 4 | ||||
-rwxr-xr-x | testing/hosts/moon/etc/init.d/iptables | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/testing/hosts/carol/etc/init.d/iptables b/testing/hosts/carol/etc/init.d/iptables index cd7ba23ff..6ff11a424 100755 --- a/testing/hosts/carol/etc/init.d/iptables +++ b/testing/hosts/carol/etc/init.d/iptables @@ -25,6 +25,10 @@ start() { iptables -A INPUT -i eth0 -p udp --sport 500 --dport 500 -j ACCEPT iptables -A OUTPUT -o eth0 -p udp --dport 500 --sport 500 -j ACCEPT + # allow MobIKE + iptables -A INPUT -i eth0 -p udp --sport 4500 --dport 4500 -j ACCEPT + iptables -A OUTPUT -o eth0 -p udp --dport 4500 --sport 4500 -j ACCEPT + # allow crl fetch from winnetou iptables -A INPUT -i eth0 -p tcp --sport 80 -s PH_IP_WINNETOU -j ACCEPT iptables -A OUTPUT -o eth0 -p tcp --dport 80 -d PH_IP_WINNETOU -j ACCEPT diff --git a/testing/hosts/dave/etc/init.d/iptables b/testing/hosts/dave/etc/init.d/iptables index cd7ba23ff..6ff11a424 100755 --- a/testing/hosts/dave/etc/init.d/iptables +++ b/testing/hosts/dave/etc/init.d/iptables @@ -25,6 +25,10 @@ start() { iptables -A INPUT -i eth0 -p udp --sport 500 --dport 500 -j ACCEPT iptables -A OUTPUT -o eth0 -p udp --dport 500 --sport 500 -j ACCEPT + # allow MobIKE + iptables -A INPUT -i eth0 -p udp --sport 4500 --dport 4500 -j ACCEPT + iptables -A OUTPUT -o eth0 -p udp --dport 4500 --sport 4500 -j ACCEPT + # allow crl fetch from winnetou iptables -A INPUT -i eth0 -p tcp --sport 80 -s PH_IP_WINNETOU -j ACCEPT iptables -A OUTPUT -o eth0 -p tcp --dport 80 -d PH_IP_WINNETOU -j ACCEPT diff --git a/testing/hosts/moon/etc/init.d/iptables b/testing/hosts/moon/etc/init.d/iptables index 7f46267c2..f5fa80b26 100755 --- a/testing/hosts/moon/etc/init.d/iptables +++ b/testing/hosts/moon/etc/init.d/iptables @@ -28,6 +28,10 @@ start() { iptables -A INPUT -i eth0 -p udp --sport 500 --dport 500 -j ACCEPT iptables -A OUTPUT -o eth0 -p udp --dport 500 --sport 500 -j ACCEPT + # allow MobIKE + iptables -A INPUT -i eth0 -p udp --sport 4500 --dport 4500 -j ACCEPT + iptables -A OUTPUT -o eth0 -p udp --dport 4500 --sport 4500 -j ACCEPT + # allow crl fetch from winnetou iptables -A INPUT -i eth0 -p tcp --sport 80 -s PH_IP_WINNETOU -j ACCEPT iptables -A OUTPUT -o eth0 -p tcp --dport 80 -d PH_IP_WINNETOU -j ACCEPT |