Browse Source

more examples

OPENBSD_2_1
kstailey 28 years ago
parent
commit
8908bd7909
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      src/etc/ipf.rules

+ 7
- 1
src/etc/ipf.rules View File

@ -1,4 +1,4 @@
# $OpenBSD: ipf.rules,v 1.2 1996/05/26 10:25:24 deraadt Exp $
# $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 # IP filtering rules. See the ipf(5) man page for more
# information on the format of this file, and /usr/share/ipf # information on the format of this file, and /usr/share/ipf
@ -8,3 +8,9 @@
# #
pass in from any to any pass in from any to any
pass out 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

Loading…
Cancel
Save