mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 14:48:51 +01:00
5245e3b75a
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@41 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
23 lines
1.1 KiB
Modula-2
23 lines
1.1 KiB
Modula-2
##############################################################################
|
|
# Shorewall 1.3 /etc/shorewall/icmp.def
|
|
#
|
|
# This file defines the default rules for accepting ICMP packets.
|
|
#
|
|
# Do not modify this file -- if you wish to change these rules, create
|
|
# /etc/shorewall/icmpdef to replace it. It is suggested that you include
|
|
# the command "source /etc/shorewall/icmp.def" in your
|
|
# /etc/shorewall/icmpdef file so that you will continue to get the
|
|
# advantage of new releases of this file.
|
|
#
|
|
# For example, if you want to accept 'ping' everywhere then create
|
|
# /etc/shorewall/icmpdef with the following two lines:
|
|
#
|
|
# source /etc/shorewall/icmp.def
|
|
# run_iptables -A icmpdef -p ICMP --icmp-type echo-request -j ACCEPT
|
|
#
|
|
run_iptables -A icmpdef -p ICMP --icmp-type echo-reply -j ACCEPT
|
|
run_iptables -A icmpdef -p ICMP --icmp-type source-quench -j ACCEPT
|
|
run_iptables -A icmpdef -p ICMP --icmp-type destination-unreachable -j ACCEPT
|
|
run_iptables -A icmpdef -p ICMP --icmp-type time-exceeded -j ACCEPT
|
|
run_iptables -A icmpdef -p ICMP --icmp-type parameter-problem -j ACCEPT
|