Add IP_FORWARDING back into IPv6

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8998 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep
2008-12-11 23:07:07 +00:00
parent 00fb21b9b1
commit f63b933136
3 changed files with 19 additions and 9 deletions

View File

@ -10,15 +10,7 @@ clear_firewall() {
run_iptables -F
echo 1 > /proc/sys/net/ipv4/ip_forward
if [ -n "$DISABLE_IPV6" ]; then
if qt mywhich ip6tables; then
ip6tables -P INPUT ACCEPT 2> /dev/null
ip6tables -P OUTPUT ACCEPT 2> /dev/null
ip6tables -P FORWARD ACCEPT 2> /dev/null
fi
fi
echo 1 > /proc/sys/net/ipv6/config/all/forwarding
run_clear_exit