Fix 'shorewall refresh' treatment of FORWARDPING=Yes

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@220 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2002-08-26 21:59:59 +00:00
parent def9caa806
commit 580cfb6c61

View File

@ -3303,6 +3303,11 @@ refresh_firewall()
run_iptables -F common
echo "Adding Common Rules"
###########################################################################
# PING
#
[ -n "$FORWARDPING" ] && \
run_iptables -A common -p icmp --icmp-type echo-request -j ACCEPT
############################################################################
# Common rules in each chain
#