Files
netbsd/external/bsd/ipf/dist/rules/example.8
2013-04-06 16:48:33 +02:00

12 lines
392 B
Groff

# $NetBSD: example.8,v 1.1.1.1 2012/03/23 21:20:15 christos 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