summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2011-06-24 21:10:17 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2011-06-24 21:10:17 +0000
commitd2340f2c438a804d416ad99b0bc77949fdcfe97f (patch)
tree7221974c5f8e97f5335737cc9d095a1f3af3c6e1 /sbin
parent14c389b94f49cb069c395e504a4ae612f892bf9c (diff)
nat-to rules require a direction
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipsecctl/ipsec.conf.56
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipsecctl/ipsec.conf.5 b/sbin/ipsecctl/ipsec.conf.5
index 4d3557d1184..8877e66007b 100644
--- a/sbin/ipsecctl/ipsec.conf.5
+++ b/sbin/ipsecctl/ipsec.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ipsec.conf.5,v 1.130 2010/10/06 22:19:20 mikeb Exp $
+.\" $OpenBSD: ipsec.conf.5,v 1.131 2011/06/24 21:10:16 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: October 6 2010 $
+.Dd $Mdocdate: June 24 2011 $
.Dt IPSEC.CONF 5
.Os
.Sh NAME
@@ -570,7 +570,7 @@ a relevant NAT rule is required in
For the example above,
this would be:
.Bd -literal -offset indent
-match on enc0 from 192.168.1.0/24 to 192.168.2.0/24 nat-to 10.10.10.1
+match out 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,