summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/rules/example.7
blob: 0ddd7f77628bac814688df4497a43ee4f4a956ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#	$FreeBSD$
# block all ICMP packets.
#
block in proto icmp all
#
# allow in ICMP echos and echo-replies.
#
pass in on le1 proto icmp from any to any icmp-type echo
pass in on le1 proto icmp from any to any icmp-type echorep
#
# block all ICMP destination unreachable packets which are port-unreachables
#
block in on le1 proto icmp from any to any icmp-type unreach code 3
OpenPOWER on IntegriCloud