xref: /illumos-gate/usr/src/cmd/ipf/examples/example.8 (revision 7c478bd9)
1*7c478bd9Sstevel@tonic-gate#
2*7c478bd9Sstevel@tonic-gate# block all incoming TCP connections but send back a TCP-RST for ones to
3*7c478bd9Sstevel@tonic-gate# the ident port
4*7c478bd9Sstevel@tonic-gate#
5*7c478bd9Sstevel@tonic-gateblock in proto tcp from any to any flags S/SA
6*7c478bd9Sstevel@tonic-gateblock return-rst in quick proto tcp from any to any port = 113 flags S/SA
7*7c478bd9Sstevel@tonic-gate#
8*7c478bd9Sstevel@tonic-gate# block all inbound UDP packets and send back an ICMP error.
9*7c478bd9Sstevel@tonic-gate#
10*7c478bd9Sstevel@tonic-gateblock return-icmp in proto udp from any to any
11