forked from extern/shorewall_code
Add comments to REJECT improvement
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@538 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
d44564fab8
commit
a7cd930b96
@ -3304,8 +3304,14 @@ add_common_rules() {
|
||||
#
|
||||
run_iptables -A reject -p tcp -j REJECT --reject-with tcp-reset
|
||||
run_iptables -A reject -p udp -j REJECT
|
||||
#
|
||||
# Not all versions of iptables support these so don't complain if they don't work
|
||||
#
|
||||
qt iptables -A reject -p icmp -j REJECT --reject-with icmp-host-unreachable
|
||||
qt iptables -A reject -j REJECT --reject-with icmp-host-prohibited
|
||||
#
|
||||
# A catchall in case the above doesn't work
|
||||
#
|
||||
run_iptables -A reject -j REJECT
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user