From 16648abea152efaa5707147a3fe6f186949fcc16 Mon Sep 17 00:00:00 2001 From: Stuart Henderson Date: Wed, 21 Oct 2009 16:07:58 +0000 Subject: nat -> match...nat-to in example PF rule. ok mpf@ --- sbin/ipsecctl/ipsec.conf.5 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/ipsecctl/ipsec.conf.5 b/sbin/ipsecctl/ipsec.conf.5 index 9ecaa21748c..c580a87bb8a 100644 --- a/sbin/ipsecctl/ipsec.conf.5 +++ b/sbin/ipsecctl/ipsec.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ipsec.conf.5,v 1.122 2009/01/29 14:30:48 jmc Exp $ +.\" $OpenBSD: ipsec.conf.5,v 1.123 2009/10/21 16:07:57 sthen Exp $ .\" .\" Copyright (c) 2004 Mathieu Sauve-Frankel All rights reserved. .\" @@ -22,7 +22,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 29 2009 $ +.Dd $Mdocdate: October 21 2009 $ .Dt IPSEC.CONF 5 .Os .Sh NAME @@ -566,7 +566,7 @@ a relevant NAT rule is required in For the example above, this would be: .Bd -literal -offset indent -nat on enc0 from 192.168.1.0/24 to 192.168.2.0/24 -> 10.10.10.1 +match on enc0 from 192.168.1.0/24 to 192.168.2.0/24 nat-to 10.10.10.1 .Ed .Pp From the peer's point of view, -- cgit v1.2.3