summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2024-09-20 01:15:54 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2024-09-20 01:15:54 +0000
commit9d855f50e028f54fce34e1db0d866a6255c5e78f (patch)
tree170189524cbbfc8d0c76fbeb67defd115405e599 /share
parent4a77886d2f5579a19a08b36635cc82255faf9ce3 (diff)
fix up the ip address config in the example config.
you're supposed to configure the IP addresses inside the tunnel, sec doesn't support configuration of the tunnel endpoint addresses because that's handled by SAs via ike config. hit by Luca Di Gregorio on misc@
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/sec.46
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man4/sec.4 b/share/man/man4/sec.4
index d0ebbbd85d5..dd172271a2e 100644
--- a/share/man/man4/sec.4
+++ b/share/man/man4/sec.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sec.4,v 1.5 2024/09/01 05:20:25 jsg Exp $
+.\" $OpenBSD: sec.4,v 1.6 2024/09/20 01:15:53 dlg Exp $
.\"
.\" Copyright (c) 2023 David Gwynne <dlg@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: September 1 2024 $
+.Dd $Mdocdate: September 20 2024 $
.Dt SEC 4
.Os
.Sh NAME
@@ -96,7 +96,7 @@ A
interface can be configured on the customer gateway:
.Bd -literal -offset indent
# ifconfig sec0 create
-# ifconfig sec0 tunnel 169.254.229.42/30 169.254.229.41
+# ifconfig sec0 inet 169.254.229.42/30 169.254.229.41
# ifconfig sec0 up
.Ed
.Pp