summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2005-03-02 11:59:18 +0000
committerjmc <jmc@openbsd.org>2005-03-02 11:59:18 +0000
commit25ab7e8ca6246466822d522b165fdb326b321b8e (patch)
tree7171179d907697a098a46698488234802b3d6b6c
parentupdate IEEE80211 media types and options; (diff)
downloadwireguard-openbsd-25ab7e8ca6246466822d522b165fdb326b321b8e.tar.xz
wireguard-openbsd-25ab7e8ca6246466822d522b165fdb326b321b8e.zip
clarify section on packet forwarding;
kill redundant blurb about virtual interfaces; ok hshoexer@ deraadt@
-rw-r--r--share/man/man8/afterboot.815
1 files changed, 5 insertions, 10 deletions
diff --git a/share/man/man8/afterboot.8 b/share/man/man8/afterboot.8
index b0edeaedd37..2832e7fbc0d 100644
--- a/share/man/man8/afterboot.8
+++ b/share/man/man8/afterboot.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: afterboot.8,v 1.103 2005/02/18 08:58:56 jmc Exp $
+.\" $OpenBSD: afterboot.8,v 1.104 2005/03/02 11:59:18 jmc Exp $
.\"
.\" Copyright (c) 1997 Marshall M. Midden
.\" All rights reserved.
@@ -245,20 +245,15 @@ you will have to kill it by running
.Ic kill `cat /var/run/dhclient.pid`
after you flush the routes.
.Pp
-If you wish to route packets between interfaces, add the directive
+If you wish to route packets between interfaces, add one or both
+of the following directives (depending on whether IPv4 or IPv6 routing
+is required) to
+.Pa /etc/sysctl.conf :
.Pp
.Dl net.inet.ip.forwarding=1
-or
.Dl net.inet6.ip6.forwarding=1
.Pp
-to
-.Pa /etc/sysctl.conf .
Packets are not forwarded by default, due to RFC requirements.
-.Pp
-You can add new
-.Dq virtual interfaces
-by adding the required entries to
-.Pa /etc/hostname.if .
.Ss BIND Name Server (DNS)
If you are using the BIND Name Server, check the
.Pa /etc/resolv.conf