xref: /netbsd-src/external/bsd/ipf/dist/rules/example.8 (revision bc4097aacfdd9307c19b7947c13c6ad6982527a9)
1#	$NetBSD: example.8,v 1.1.1.1 2012/03/23 21:20:15 christos Exp $
2#
3# block all incoming TCP connections but send back a TCP-RST for ones to
4# the ident port
5#
6block in proto tcp from any to any flags S/SA
7block return-rst in quick proto tcp from any to any port = 113 flags S/SA
8#
9# block all inbound UDP packets and send back an ICMP error.
10#
11block return-icmp in proto udp from any to any
12