xref: /titanic_44/usr/src/cmd/ipf/examples/example.13 (revision e71ca95ca6de23d33b54cb55cefdef30bc7c969b)
1#
2# Log all short TCP packets to qe3, with 10.3.3.3 as the intended
3# destination for the packet.
4#
5block in on qe0 to qe3:10.3.3.3 proto tcp all with short
6#
7# Log all connection attempts for TCP
8#
9pass 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#
13pass 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#
17pass in on le0 to le1:10.3.3.1 proto icmp all
18