mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-16 19:56:48 +02:00
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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user