From 7923874bb84599e65e99d1b04a89e678d23c274b Mon Sep 17 00:00:00 2001 From: "bruns@2mbit.com" Date: Fri, 21 Aug 2009 04:50:54 +0000 Subject: [PATCH] Fixed ipv6 UDP --- rc.firewall | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rc.firewall b/rc.firewall index 2efea5e..9aad703 100755 --- a/rc.firewall +++ b/rc.firewall @@ -1,5 +1,5 @@ #/bin/bash -# v0.4 +# v0.5 # By Brielle Bruns # URL: http://www.sosdg.org/freestuff/firewall # License: GPLv3 @@ -193,8 +193,9 @@ if [ $IPV6 ]; then for i in $IPV6UDP; do echo -n "UDP/$i " - $IP6TABLES -A INPUT -p udp --sport $i --dport 1:65535 -j ACCEPT $IP6TABLES -A OUTPUT -p udp --sport 1:65535 --dport $i -j ACCEPT + $IP6TABLES -A INPUT -p udp --dport $i --sport 1:65535 -j ACCEPT + $IP6TABLES -A INPUT -p udp --sport $i --dport 1:65535 -j ACCEPT done echo -en "\n"