summaryrefslogtreecommitdiffstats
path: root/sample/sample-config-files
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-07-11 10:00:24 +0200
committerGert Doering <gert@greenie.muc.de>2014-07-13 15:56:21 +0200
commitc277757fcf7fb4c2713db154439f937d48cfae61 (patch)
tree9295234c3eccdc6017d487bea461086874fd9093 /sample/sample-config-files
parent4cc6a2595947a0e2f13b37637899bfc50f8509aa (diff)
downloadopenvpn-c277757fcf7fb4c2713db154439f937d48cfae61.tar.gz
openvpn-c277757fcf7fb4c2713db154439f937d48cfae61.tar.xz
openvpn-c277757fcf7fb4c2713db154439f937d48cfae61.zip
Add topology in sample server configuration file
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>
Diffstat (limited to 'sample/sample-config-files')
-rw-r--r--sample/sample-config-files/server.conf9
1 files changed, 8 insertions, 1 deletions
diff --git a/sample/sample-config-files/server.conf b/sample/sample-config-files/server.conf
index f483b6b..467d5b8 100644
--- a/sample/sample-config-files/server.conf
+++ b/sample/sample-config-files/server.conf
@@ -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,