xref: /onnv-gate/usr/src/cmd/ipf/examples/example.13 (revision 0:68f95e015346)
1*0Sstevel@tonic-gate#
2*0Sstevel@tonic-gate# Log all short TCP packets to qe3, with 10.3.3.3 as the intended
3*0Sstevel@tonic-gate# destination for the packet.
4*0Sstevel@tonic-gate#
5*0Sstevel@tonic-gateblock in on qe0 to qe3:10.3.3.3 proto tcp all with short
6*0Sstevel@tonic-gate#
7*0Sstevel@tonic-gate# Log all connection attempts for TCP
8*0Sstevel@tonic-gate#
9*0Sstevel@tonic-gatepass in on le0 dup-to le1:10.3.3.3 proto tcp all flags S/SA
10*0Sstevel@tonic-gate#
11*0Sstevel@tonic-gate# Route all UDP packets through transparently.
12*0Sstevel@tonic-gate#
13*0Sstevel@tonic-gatepass in on ppp0 fastroute proto udp all
14*0Sstevel@tonic-gate#
15*0Sstevel@tonic-gate# Route all ICMP packets to network 10 out through le1, to 10.3.3.1
16*0Sstevel@tonic-gate#
17*0Sstevel@tonic-gatepass in on le0 to le1:10.3.3.1 proto icmp all
18