Browse Source

mention /etc/netstart toggles

OPENBSD_2_1
deraadt 28 years ago
parent
commit
da6ca4f308
2 changed files with 6 additions and 4 deletions
  1. +2
    -1
      src/etc/ipf.rules
  2. +4
    -3
      src/etc/nat.rules

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

@ -1,10 +1,11 @@
# $OpenBSD: ipf.rules,v 1.4 1997/02/26 04:38:01 kstailey Exp $
# $OpenBSD: ipf.rules,v 1.5 1997/04/09 07:32:13 deraadt 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
# for example configuration files. # for example configuration files.
# #
# Pass all packets by default. # Pass all packets by default.
# edit the ipfilter= line in /etc/netstart to enable IP filtering
# #
pass in from any to any pass in from any to any
pass out from any to any pass out from any to any

+ 4
- 3
src/etc/nat.rules View File

@ -1,5 +1,6 @@
# $OpenBSD: nat.rules,v 1.1 1997/04/09 02:41:55 kstailey Exp $
# $OpenBSD: nat.rules,v 1.2 1997/04/09 07:32:14 deraadt Exp $
# #
# see /usr/share/ipf/nat.1 for examples
# See /usr/share/ipf/nat.1 for examples.
# edit the nat= line in /etc/netstart to enable Network Address Translation
# map ppp0 10.0.0.0/8 -> ppp0/32 portmap tcp/udp 10000:20000
#map ppp0 10.0.0.0/8 -> ppp0/32 portmap tcp/udp 10000:20000

Loading…
Cancel
Save