From a5bd4b33da96b6bc009d8f9dfc636151d01cc26e Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Mon, 16 Apr 2018 18:20:09 +0200 Subject: [PATCH] Hamcore: add "push-peer-info" and "UV_HOSTNAME" to the OpenVPN sample configuration --- src/bin/hamcore/openvpn_sample.ovpn | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/bin/hamcore/openvpn_sample.ovpn b/src/bin/hamcore/openvpn_sample.ovpn index 2964712f..3b7c3868 100644 --- a/src/bin/hamcore/openvpn_sample.ovpn +++ b/src/bin/hamcore/openvpn_sample.ovpn @@ -19,6 +19,28 @@ # config file. Please refer the below descriptions carefully. +############################################################################### +# Custom hostname setting. +# +# Uncomment the line and replace "Hostname" with your desired string, if you +# want the server to use a specific hostname instead of the default gateway's +# hardware address. + +;setenv UV_HOSTNAME Hostname + + +############################################################################### +# Push extra info about the client to the server. +# +# The server currently uses: +# IV_HWADDR = Default gateway's MAC Address +# UV_HOSTNAME = Custom hostname +# +# They are required in order to set an hostname for the client. + +push-peer-info + + ############################################################################### # Specify the type of the layer of the VPN connection. #