Added conditional UPnP setting on Management page

This commit is contained in:
bergware
2019-08-20 16:18:13 +02:00
parent 36a4abd26e
commit f40fb3a56b

View File

@@ -181,6 +181,17 @@ SSH port:
> Enter the SSH port, default port is 22.
<?if (file_exists('/var/log/plugins/dynamix.wireguard.plg')):?>
Use UPnP:
: <select name="USE_UPNP" size="1">
<?=mk_option($var['USE_UPNP'], "yes", "Yes")?>
<?=mk_option($var['USE_UPNP'], "no", "No")?>
</select>
> Enable (default) or disable the UPnP function on the server. This function allows automatic forwarding of ports on the router, only applicable when UPnP is enabled on the router itself.
<?endif;?>
Use SSL/TLS:
: <select name="USE_SSL" size="1" onchange="updateSSL(this.form)">
<?=mk_option($var['USE_SSL'], "auto", "Auto")?>