diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-10-21 16:07:58 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2009-10-21 16:07:58 +0000 |
commit | 16648abea152efaa5707147a3fe6f186949fcc16 (patch) | |
tree | e047b0611fce03bee935340dc3c2b1802d91a0e5 | |
parent | ebde6df5e6dec1d125997fb39b8f453f23cacd74 (diff) |
nat -> match...nat-to in example PF rule. ok mpf@
-rw-r--r-- | sbin/ipsecctl/ipsec.conf.5 | 6 |
1 files 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, |