freebsd-dev/contrib/ipfilter/rules/example.8
1997-02-09 22:50:16 +00:00

11 lines
326 B
Groff

#
# 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