diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-12 07:38:44 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-12 07:38:44 +0000 |
commit | 7f2a8bbe252e8cc34f76af0fb6700b2c51c9947c (patch) | |
tree | c81ec8f6acebcf4b2f9ab5e155650ec381f03075 | |
parent | f3e268c494511e19ebb9b1898d1aae8bb8f13d22 (diff) |
mention net.inet.ip.forwarding
-rw-r--r-- | share/man/man8/afterboot.8 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/share/man/man8/afterboot.8 b/share/man/man8/afterboot.8 index 7878654b4a3..f25634f7f1f 100644 --- a/share/man/man8/afterboot.8 +++ b/share/man/man8/afterboot.8 @@ -115,6 +115,16 @@ and using and .Nm route add if you do not wish to reboot. +.Pp +If you wish to route packets between interfaces you do that by doing +.Bd -literal -offset indent +# sysctl -w net.inet.ip.forwarding=1 +.Ed +.Pp +early on in the boot process (ie. start of +.Pa /etc/netstart , +or by compiling a new kernel with the option GATEWAY. By default, +packets are not forwarded due to RFC requirements. \!\"-------------------------------------------------------------------------- .Ss Bind Name Server If you are using the Bind Name Server (DNS), check the |