]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/blob - contrib/ipfilter/rules/example.7
Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
[FreeBSD/releng/9.0.git] / contrib / ipfilter / rules / example.7
1 # block all ICMP packets.
2 #
3 block in proto icmp all
4 #
5 # allow in ICMP echos and echo-replies.
6 #
7 pass in on le1 proto icmp from any to any icmp-type echo
8 pass in on le1 proto icmp from any to any icmp-type echorep
9 #
10 # block all ICMP destination unreachable packets which are port-unreachables
11 #
12 block in on le1 proto icmp from any to any icmp-type unreach code 3