]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
open RADIUS accounting port in firewall
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 6 Feb 2012 19:45:21 +0000 (20:45 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 6 Feb 2012 19:45:21 +0000 (20:45 +0100)
testing/tests/ikev2/rw-radius-accounting/hosts/moon/etc/init.d/iptables

index 56587b2e8872c324f8a42a9b5f7d4897a00a9700..962a418d97a872ac6c62b75a3eaa22580253034f 100755 (executable)
@@ -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