Hamcore: add "push-peer-info" and "UV_HOSTNAME" to the OpenVPN sample configuration

This commit is contained in:
Davide Beatrici committed 2018-06-09 19:55:03 +02:00
1 parent 970e217380
commit a5bd4b33da
1 file changed
+22
+22
View File
@@ -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.
#