Browse Source

NAT requires IPF

OPENBSD_2_3
kstailey 27 years ago
parent
commit
4aa648c5a3
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      src/etc/netstart
  2. +2
    -2
      src/etc/rc.conf

+ 2
- 2
src/etc/netstart View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: netstart,v 1.31 1997/11/04 09:15:31 deraadt Exp $
# $OpenBSD: netstart,v 1.32 1997/11/29 02:03:43 kstailey Exp $
# /etc/myname contains my symbolic name
#
@ -24,7 +24,7 @@ fi
# Configure NAT before configuring network interfaces
#
if [ X"${nat}" = X"YES" -a -f "${nat_rules}" ]; then
if [ "${nat}" = "YES" -a "${ipfilter}" = "YES" -a -f "${nat_rules}" ]; then
echo 'configuring NAT'
ipnat -CF -f ${nat_rules}
else


+ 2
- 2
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: rc.conf,v 1.3 1997/11/23 11:54:16 maja Exp $
# $OpenBSD: rc.conf,v 1.4 1997/11/29 02:03:43 kstailey Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for 'normal' use: routed_flags=-q
@ -23,7 +23,7 @@ gated=NO
kerberos_server=NO
amd=NO
ipfilter=NO
nat=NO
nat=NO # for "YES" ipfilter must also be "YES"
portmap=YES # almost always needed
inetd=YES # almost always needed
lpd=NO # printing daemons


Loading…
Cancel
Save