From 966d87abc9dc2e449a41d2a05cc921bf6ecca561 Mon Sep 17 00:00:00 2001 From: dlg Date: Fri, 20 Sep 2024 01:15:53 +0000 Subject: [PATCH] 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@ --- share/man/man4/sec.4 | 6 +++--- 1 file 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 .\" @@ -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 -- 2.20.1