Allow GIT port (9418) out.
This commit is contained in:
parent
2bae6a7953
commit
9444e0ae12
@ -1695,6 +1695,22 @@ for _dev in ${ext_if_arr[@]} ; do
|
||||
fi
|
||||
done
|
||||
|
||||
echo_done
|
||||
|
||||
|
||||
# ---
|
||||
# - GIT out only
|
||||
# ---
|
||||
|
||||
echononl "\t\tGIT out only"
|
||||
|
||||
for _dev in ${ext_if_arr[@]} ; do
|
||||
$ip6t -A OUTPUT -o $_dev -p tcp --dport 9418 -m state --state NEW -j ACCEPT
|
||||
if $kernel_forward_between_interfaces ; then
|
||||
$ip6t -A FORWARD -o $_dev -p tcp --dport 9418 -m state --state NEW -j ACCEPT
|
||||
fi
|
||||
done
|
||||
|
||||
echo_done
|
||||
echo
|
||||
|
||||
|
@ -1939,6 +1939,22 @@ for _dev in ${ext_if_arr[@]} ; do
|
||||
fi
|
||||
done
|
||||
|
||||
echo_done
|
||||
|
||||
|
||||
# ---
|
||||
# - GIT out only
|
||||
# ---
|
||||
|
||||
echononl "\t\tGIT out only"
|
||||
|
||||
for _dev in ${ext_if_arr[@]} ; do
|
||||
$ipt -A OUTPUT -o $_dev -p tcp --dport 9418 -m state --state NEW -j ACCEPT
|
||||
if $kernel_activate_forwarding ; then
|
||||
$ipt -A FORWARD -o $_dev -p tcp --dport 9418 -m state --state NEW -j ACCEPT
|
||||
fi
|
||||
done
|
||||
|
||||
echo_done
|
||||
echo
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user