As mlarkin@ noted the man page description of the protected-subnet option is not
very helpful. This diff tries to make things a little clearer.

Ok?

Index: iked.conf.5
===================================================================
RCS file: /cvs/src/sbin/iked/iked.conf.5,v
retrieving revision 1.55
diff -u -p -u -r1.55 iked.conf.5
--- iked.conf.5 11 May 2019 16:30:23 -0000      1.55
+++ iked.conf.5 3 Aug 2019 11:21:10 -0000
@@ -578,7 +578,11 @@ This option is provided for compatibilit
 .It Ic dhcp-server Ar address
 The address of an internal DHCP server for further configuration.
 .It Ic protected-subnet Ar address/prefix
-The address of the protected subnet within the internal network.
+The address of an additional hidden IPv4 or IPv6 subnet reachable over the
+gateway. This option is used to notify the peer of a private subnet
+behind the gateway. Networks specified in the "from" or
+"to" options are known to the peer and do not necessarily need to be included
+here.
 .It Ic access-server Ar address
 The address of an internal remote access server.
 .El

Reply via email to