diff options
author | 1997-11-12 07:38:43 +0000 | |
---|---|---|
committer | 1997-11-12 07:38:43 +0000 | |
commit | 49b64a0cc1bbf501cf12853048155a6d8a8b914b (patch) | |
tree | b1390b15cdf95445686f0e74256b1362a5158ee3 | |
parent | fix argh disklabel problem, pr#346 (diff) | |
download | wireguard-openbsd-49b64a0cc1bbf501cf12853048155a6d8a8b914b.tar.xz wireguard-openbsd-49b64a0cc1bbf501cf12853048155a6d8a8b914b.zip |
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 |