mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Update w/ wg_conf
This commit is contained in:
parent
2bedbad71a
commit
4c0de33956
@ -40,6 +40,7 @@ require_once 'includes/themes.php';
|
|||||||
require_once 'includes/data_usage.php';
|
require_once 'includes/data_usage.php';
|
||||||
require_once 'includes/about.php';
|
require_once 'includes/about.php';
|
||||||
require_once 'includes/openvpn.php';
|
require_once 'includes/openvpn.php';
|
||||||
|
require_once 'includes/wireguard.php';
|
||||||
require_once 'includes/torproxy.php';
|
require_once 'includes/torproxy.php';
|
||||||
|
|
||||||
$output = $return = 0;
|
$output = $return = 0;
|
||||||
@ -164,6 +165,11 @@ $bridgedEnabled = $arrHostapdConf['BridgedEnable'];
|
|||||||
<?php if (RASPI_OPENVPN_ENABLED) : ?>
|
<?php if (RASPI_OPENVPN_ENABLED) : ?>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="index.php?page=openvpn_conf"><i class="fas fa-key fa-fw mr-2"></i><span class="nav-label"><?php echo _("OpenVPN"); ?></a>
|
<a class="nav-link" href="index.php?page=openvpn_conf"><i class="fas fa-key fa-fw mr-2"></i><span class="nav-label"><?php echo _("OpenVPN"); ?></a>
|
||||||
|
</li>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if (RASPI_WIREGUARD_ENABLED) : ?>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="index.php?page=wg_conf"><i class="fas fa-key fa-fw mr-2"></i><span class="nav-label"><?php echo _("WireGuard"); ?></a>
|
||||||
</li>
|
</li>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if (RASPI_TORPROXY_ENABLED) : ?>
|
<?php if (RASPI_TORPROXY_ENABLED) : ?>
|
||||||
@ -257,6 +263,9 @@ $bridgedEnabled = $arrHostapdConf['BridgedEnable'];
|
|||||||
case "openvpn_conf":
|
case "openvpn_conf":
|
||||||
DisplayOpenVPNConfig();
|
DisplayOpenVPNConfig();
|
||||||
break;
|
break;
|
||||||
|
case "wg_conf":
|
||||||
|
DisplayWireGuardConfig();
|
||||||
|
break;
|
||||||
case "torproxy_conf":
|
case "torproxy_conf":
|
||||||
DisplayTorProxyConfig();
|
DisplayTorProxyConfig();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user