xref: /titanic_44/usr/src/cmd/ipf/examples/example.13 (revision 55553f719b521a0bb4deab6efc944cd30c1a56aa)
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