aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hosts/dave
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-06-28 21:33:51 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-06-28 21:33:51 +0000
commitcea6634fdefd68d580ace904776d582e1498e034 (patch)
tree825ee0e4cfe2a7f5a0f3ffdbdac3d3531a4185f3 /testing/hosts/dave
parentb9212e5a93468a5db49a52e36f5527ca6b9d937a (diff)
downloadstrongswan-cea6634fdefd68d580ace904776d582e1498e034.tar.bz2
strongswan-cea6634fdefd68d580ace904776d582e1498e034.tar.xz
MobIKE requires iptables to open udp/4500
Diffstat (limited to 'testing/hosts/dave')
-rwxr-xr-xtesting/hosts/dave/etc/init.d/iptables4
1 files changed, 4 insertions, 0 deletions
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