# $OpenBSD: ipf.rules,v 1.3 1997/02/26 04:36:34 kstailey Exp $ # # IP filtering rules. See the ipf(5) man page for more # information on the format of this file, and /usr/share/ipf # for example configuration files. # # Pass all packets by default. # pass in from any to any pass out from any to any # # Prevent web server access, except to localhost which is using ip 10.1.1.3: # # block return-rst in proto tcp from any to any port = 80 # pass in proto tcp from 127.0.0.0/8 to 127.0.0.0/8 port = 80 # pass in proto tcp from 10.1.1.3 to 10.1.1.3 port = 80