From c7b14e091dfd5738330b9085c6ce30983775d0dd Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Sat, 1 Dec 2018 01:27:02 +0100 Subject: [PATCH] hamcore: document new "UV_NO_DHCP" setting in the OpenVPN configuration sample --- src/bin/hamcore/openvpn_sample.ovpn | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/bin/hamcore/openvpn_sample.ovpn b/src/bin/hamcore/openvpn_sample.ovpn index ec3e5e63..4d222093 100644 --- a/src/bin/hamcore/openvpn_sample.ovpn +++ b/src/bin/hamcore/openvpn_sample.ovpn @@ -29,14 +29,25 @@ ;setenv UV_HOSTNAME Hostname +############################################################################### +# Disable DHCP setting. +# +# Uncomment the line if you don't want the server to send network settings to +# the client. The virtual network adapter's IP address has to be set manually, +# unless you are on Windows, which gets it automatically using DHCP. + +;setenv UV_NO_DHCP + + ############################################################################### # Push extra info about the client to the server. # # The server currently uses: # IV_HWADDR = Default gateway's MAC Address # UV_HOSTNAME = Custom hostname +# UV_NO_DHCP = Setting to disable DHCP # -# They are required in order to set an hostname for the client. +# IV_HWADDR and UV_HOSTNAME are used to set an hostname for the client. push-peer-info