aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2012-02-06 20:45:21 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2012-02-06 20:45:21 +0100
commit269e487567b852e87c912068dac1195297dfdc5a (patch)
tree892596d17c656876aab5bf0f3d4e982aa9162be8 /testing
parent9755910d7f58d75a07d430fb64a8196a42107989 (diff)
downloadstrongswan-269e487567b852e87c912068dac1195297dfdc5a.tar.bz2
strongswan-269e487567b852e87c912068dac1195297dfdc5a.tar.xz
open RADIUS accounting port in firewall
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/tests/ikev2/rw-radius-accounting/hosts/moon/etc/init.d/iptables4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/tests/ikev2/rw-radius-accounting/hosts/moon/etc/init.d/iptables b/testing/tests/ikev2/rw-radius-accounting/hosts/moon/etc/init.d/iptables
index 56587b2e8..962a418d9 100755
--- a/testing/tests/ikev2/rw-radius-accounting/hosts/moon/etc/init.d/iptables
+++ b/testing/tests/ikev2/rw-radius-accounting/hosts/moon/etc/init.d/iptables
@@ -40,6 +40,10 @@ start() {
iptables -A INPUT -i eth1 -p udp --sport 1812 -s PH_IP_ALICE -j ACCEPT
iptables -A OUTPUT -o eth1 -p udp --dport 1812 -d PH_IP_ALICE -j ACCEPT
+ # allow RADIUS accounting protocol with alice
+ iptables -A INPUT -i eth1 -p udp --sport 1813 -s PH_IP_ALICE -j ACCEPT
+ iptables -A OUTPUT -o eth1 -p udp --dport 1813 -d PH_IP_ALICE -j ACCEPT
+
# allow ssh
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 22 -j ACCEPT