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