Browse Source

ipforward is in sysctl.conf now

OPENBSD_2_3
deraadt 26 years ago
parent
commit
5600960454
2 changed files with 2 additions and 7 deletions
  1. +1
    -5
      src/etc/netstart
  2. +1
    -2
      src/etc/rc.conf

+ 1
- 5
src/etc/netstart View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: netstart,v 1.34 1997/12/21 01:17:21 deraadt Exp $
# $OpenBSD: netstart,v 1.35 1998/02/07 20:51:50 deraadt Exp $
# /etc/myname contains my symbolic name
#
@ -31,10 +31,6 @@ else
nat=NO
fi
if [ X"${ipforward}" = X"YES" ]; then
sysctl -w net.inet.ip.forwarding=1
fi
# set the address for the loopback interface
ifconfig lo0 inet localhost


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

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: rc.conf,v 1.10 1998/02/05 09:54:37 deraadt Exp $
# $OpenBSD: rc.conf,v 1.11 1998/02/07 20:51:50 deraadt Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for 'normal' use: routed_flags="-q"
@ -28,7 +28,6 @@ portmap=YES # almost always needed
inetd=YES # almost always needed
lpd=NO # printing daemons
check_quotas=YES # NO may be desireable in some YP environments
ipforward=NO # route packets between interfaces
# miscellaneous other flags
# only used if the appropriate server is marked YES above


Loading…
Cancel
Save