xref: /netbsd-src/external/bsd/ipf/dist/rules/example.8 (revision 82d56013d7b633d116a93943de88e08335357a7c)
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