mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-22 05:28:59 +01:00
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:
parent
def9caa806
commit
580cfb6c61
@ -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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user