summaryrefslogtreecommitdiff
path: root/share/man/man8
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-04-17 12:52:43 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-04-17 12:52:43 +0000
commitbc8cd25cb5ec7c6eeed5441d3fa63a159e495718 (patch)
tree1e6e9b7adb341655b11f879c1a10ff7f039db924 /share/man/man8
parent816265f3ca85539e49ef491ad9adf34fc559117e (diff)
document effects of net.inet.ip.forwarding=2, and refer to related
sysctls in sysctl(3); pointed out by msf@
Diffstat (limited to 'share/man/man8')
-rw-r--r--share/man/man8/vpn.812
1 files changed, 10 insertions, 2 deletions
diff --git a/share/man/man8/vpn.8 b/share/man/man8/vpn.8
index e6d39c7f77b..5f63f88d138 100644
--- a/share/man/man8/vpn.8
+++ b/share/man/man8/vpn.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vpn.8,v 1.95 2005/04/17 12:34:23 jmc Exp $
+.\" $OpenBSD: vpn.8,v 1.96 2005/04/17 12:52:42 jmc Exp $
.\"
.\" Copyright 1998 Niels Provos <provos@physnet.uni-hamburg.de>
.\" All rights reserved.
@@ -112,8 +112,15 @@ forwarding to be enabled using
Packet forwarding defaults to
.Sq off .
.Pp
+Additionally, if
+.Va net.inet.ip.forwarding
+is set to 2,
+IP forwarding is restricted to IPsec traffic only.
+These and other IPsec related options are documented in
+.Xr sysctl 3 .
+.Pp
For more permanent operation,
-the appropriate option(s) should be enabled in your
+the appropriate option(s) can be enabled in
.Xr sysctl.conf 5 .
.Ss Choosing a Key Exchange Method
There are currently two key exchange methods available:
@@ -536,6 +543,7 @@ Sample VPN configuration file.
.El
.Sh SEE ALSO
.Xr openssl 1 ,
+.Xr sysctl 3 ,
.Xr enc 4 ,
.Xr ipsec 4 ,
.Xr keynote 4 ,