]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Add topology in sample server configuration file
authorPhilipp Hagemeister <phihag@phihag.de>
Fri, 11 Jul 2014 08:00:24 +0000 (10:00 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 13 Jul 2014 13:57:04 +0000 (15:57 +0200)
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
On modern systems, topology subnet should always be set, but it's
missing in the configuration file.
Add it with a short explanation.

Signed-off-by: Philipp Hagemeister <phihag@phihag.de>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <53BF9998.5020906@phihag.de>
URL: http://article.gmane.org/gmane.network.openvpn.devel/8878
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit c277757fcf7fb4c2713db154439f937d48cfae61)

sample/sample-config-files/server.conf

index f483b6bbd88528c7335da297b363a5cf81de6a8f..467d5b8a8dd81ccf9b7bc061dd63d00c00b68503 100644 (file)
@@ -83,9 +83,16 @@ key server.key  # This file should be kept secret
 # Generate your own with:
 #   openssl dhparam -out dh1024.pem 1024
 # Substitute 2048 for 1024 if you are using
-# 2048 bit keys. 
+# 2048 bit keys.
 dh dh1024.pem
 
+# Network topology
+# Should be subnet (addressing via IP)
+# unless Windows clients v2.0.9 and lower have to
+# be supported (then net30, i.e. a /30 per client)
+# Defaults to net30 (not recommended)
+;topology subnet
+
 # Configure server mode and supply a VPN subnet
 # for OpenVPN to draw client addresses from.
 # The server will take 10.8.0.1 for itself,