summaryrefslogtreecommitdiff
path: root/dist/ipf/rules/example.8
blob: e2c0807b0ff0033a17d1626f1e5061ab2ff1d428 (plain)
1
2
3
4
5
6
7
8
9
10
11
#	$NetBSD: example.8,v 1.1.1.1 1999/12/11 22:24:12 veego Exp $
#
# block all incoming TCP connections but send back a TCP-RST for ones to
# the ident port
#
block in proto tcp from any to any flags S/SA
block return-rst in quick proto tcp from any to any port = 113 flags S/SA
#
# block all inbound UDP packets and send back an ICMP error.
#
block return-icmp in proto udp from any to any