diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2006-05-27 17:37:03 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2006-05-27 17:37:03 +0000 |
commit | e52e7b9cc5c36c50a43ddfe25611d6235741e426 (patch) | |
tree | 4f1dc015d902ecd138c95a2ea69c19a538168b2f | |
parent | 2522b05e1ab25896a635f70e50696ab2cf6ee9f2 (diff) |
Adresses can be specified in CIDR notation, as symbolic host names, interface
names or interface group names. So it's time to document this...
-rw-r--r-- | sbin/ipsecctl/ipsec.conf.5 | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/sbin/ipsecctl/ipsec.conf.5 b/sbin/ipsecctl/ipsec.conf.5 index a8aa09d7b49..a2a788c3924 100644 --- a/sbin/ipsecctl/ipsec.conf.5 +++ b/sbin/ipsecctl/ipsec.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ipsec.conf.5,v 1.45 2006/05/27 17:21:40 hshoexer Exp $ +.\" $OpenBSD: ipsec.conf.5,v 1.46 2006/05/27 17:37:02 hshoexer Exp $ .\" .\" Copyright (c) 2004 Mathieu Sauve-Frankel All rights reserved. .\" @@ -92,6 +92,9 @@ for details. .Pp Parameters specify the packets to which a flow applies. Some parameters are optional. +.Pp +Adresses can be specified in CIDR notation (matching netblocks), +as symbolic host names, interface names or interface group names. .Bl -tag -width xxxx .It Ar in No or Ar out This rule applies to incoming or outgoing packets. @@ -134,7 +137,6 @@ This rule applies for packets with source address .Aq Ar src and destination address .Aq Ar dst . -All addresses are specified either in CIDR notation or as FQDN. The keyword .Ar any will match any address (i.e. 0.0.0.0/0). @@ -190,6 +192,9 @@ Enter an IPIP pseudo SA. .Pp Parameters specify the peers, Security Parameter Index (SPI), cryptographic transforms, and key material to be used. +.Pp +Adresses can be specified in CIDR notation (matching netblocks), +as symbolic host names, interface names or interface group names. .Bl -tag -width xxxx .It Xo .Aq Ar mode @@ -345,6 +350,9 @@ Parameters specify the packets that will go through the tunnel and which cryptographic transforms are used for .Xr isakmpd 8 . Some parameters are optional. +.Pp +Adresses can be specified in CIDR notation (matching netblocks), +as symbolic host names, interface names or interface group names. .Bl -tag -width xxxx .It Xo .Ar ike @@ -402,7 +410,6 @@ This rule applies for packets with source address .Aq Ar src and destination address .Aq Ar dst . -All addresses are specified either in CIDR notation or as FQDN. The keyword .Ar any will match any address (i.e. 0.0.0.0/0). @@ -569,7 +576,6 @@ This rule applies for packets with source address .Aq Ar src and destination address .Aq Ar dst . -All addresses are specified either in CIDR notation or as FQDN. The parameter .Ar spi is a 32-bit value defining the Security Parameter Index (SPI) for this SA. @@ -650,6 +656,9 @@ tcpmd5 from 192.168.3.14 to 192.168.3.27 spi 0x1000:0x1001 \e ike esp from 10.1.1.0/24 to 10.1.2.0/24 peer 192.168.3.2 ike esp from 192.168.3.1 to 192.168.3.2 +# Using interface group names and symbolic host names +ike esp from egress to 10.1.2.0/24 peer mygate.home.net + # Protect remote bridges (IP over Ethernet) ike esp proto etherip from 192.168.100.1 to 192.168.200.1 |