]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/ipfilter/rules/example.13
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / ipfilter / rules / example.13
1 #
2 # Log all short TCP packets to qe3, with 10.3.3.3 as the intended
3 # destination for the packet.
4 #
5 block in on qe0 to qe3:10.3.3.3 proto tcp all with short
6 #
7 # Log all connection attempts for TCP
8 #
9 pass in on le0 dup-to le1:10.3.3.3 proto tcp all flags S/SA
10 #
11 # Route all UDP packets through transparently.
12 #
13 pass in on ppp0 fastroute proto udp all
14 #
15 # Route all ICMP packets to network 10 out through le1, to 10.3.3.1
16 #
17 pass in on le0 to le1:10.3.3.1 proto icmp all