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