mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
wireguard.cgi: Add CGI to configure wireguard
commit 06dbc836a47160d51ab10f8b9d4ca356beaa7cdb Author: Michael Tremer <michael.tremer@ipfire.org> Date: Tue Apr 16 18:06:47 2024 +0200 wireguard.cgi: Add a basic CGI to configure the global settings Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
@@ -48,6 +48,7 @@ wakeonlan.cgi=configuration/network/wake-on-lan
|
||||
|
||||
# Services menu
|
||||
vpnmain.cgi=configuration/services/ipsec
|
||||
wireguard.cgi=configuration/services/wireguard
|
||||
ovpnmain.cgi=configuration/services/openvpn
|
||||
ddns.cgi=configuration/services/dyndns
|
||||
time.cgi=configuration/services/ntp
|
||||
|
||||
@@ -4,6 +4,12 @@
|
||||
'title' => "$Lang::tr{'virtual private networking'}",
|
||||
'enabled' => 1,
|
||||
};
|
||||
$subservices->{'15.wireguard'} = {
|
||||
'caption' => $Lang::tr{'wireguard'},
|
||||
'uri' => '/cgi-bin/wireguard.cgi',
|
||||
'title' => "$Lang::tr{'wireguard'}",
|
||||
'enabled' => 1,
|
||||
};
|
||||
$subservices->{'20.openvpn'} = {
|
||||
'caption' => 'OpenVPN',
|
||||
'uri' => '/cgi-bin/ovpnmain.cgi',
|
||||
|
||||
@@ -88,6 +88,7 @@ srv/web/ipfire/cgi-bin/wakeonlan.cgi
|
||||
srv/web/ipfire/cgi-bin/webaccess.cgi
|
||||
#srv/web/ipfire/cgi-bin/wio.cgi
|
||||
#srv/web/ipfire/cgi-bin/wiographs.cgi
|
||||
srv/web/ipfire/cgi-bin/wireguard.cgi
|
||||
srv/web/ipfire/cgi-bin/wireless.cgi
|
||||
srv/web/ipfire/cgi-bin/wirelessclient.cgi
|
||||
srv/web/ipfire/cgi-bin/wlanap.cgi
|
||||
|
||||
@@ -1528,6 +1528,7 @@ WARNING: untranslated string: proxy reports today = Today
|
||||
WARNING: untranslated string: proxy reports weekly = Weekly reports
|
||||
WARNING: untranslated string: ptr = PTR
|
||||
WARNING: untranslated string: ptr lookup failed = Reverse lookup failed
|
||||
WARNING: untranslated string: public key = unknown string
|
||||
WARNING: untranslated string: pulse = Pulse
|
||||
WARNING: untranslated string: pulse dial = Pulse dial:
|
||||
WARNING: untranslated string: qos enter bandwidths = You will need to enter your downstream and upstream bandwidth!
|
||||
|
||||
1526
html/cgi-bin/wireguard.cgi
Normal file
1526
html/cgi-bin/wireguard.cgi
Normal file
File diff suppressed because it is too large
Load Diff
@@ -155,6 +155,13 @@ iframe {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/*
|
||||
Text Colors
|
||||
*/
|
||||
.text-error {
|
||||
color: var(--color-red);
|
||||
}
|
||||
|
||||
/* Header */
|
||||
|
||||
#header {
|
||||
|
||||
@@ -3030,6 +3030,48 @@
|
||||
'weekly firewallhits' => 'weekly firewallhits',
|
||||
'weeks' => 'Weeks',
|
||||
'wg' => 'WireGuard',
|
||||
'wg client configuration file' => 'WireGuard Client Configuration File',
|
||||
'wg client pool' => 'Client Pool',
|
||||
'wg create host-to-net peer' => 'Create A New Host-To-Net Peer',
|
||||
'wg create net-to-net peer' => 'Create A New Net-To-Net Peer',
|
||||
'wg create peer' => 'Create A New Peer',
|
||||
'wg dns' => 'DNS',
|
||||
'wg download configuration' => 'Download Configuration',
|
||||
'wg download configuration file' => 'Download the configuration file',
|
||||
'wg edit host-to-net peer' => 'Edit Host-To-Net Peer',
|
||||
'wg edit net-to-net peer' => 'Edit Net-To-Net Peer',
|
||||
'wg edit peer' => 'Edit Peer',
|
||||
'wg host to net client settings' => 'Host-To-Net Client Settings',
|
||||
'wg import peer' => 'Import Peer',
|
||||
'wg invalid client dns' => 'Invalid client DNS address',
|
||||
'wg invalid client pool' => 'Invalid client pool',
|
||||
'wg invalid endpoint address' => 'Invalid endpoint address',
|
||||
'wg invalid endpoint port' => 'Invalid endpoint port',
|
||||
'wg invalid keepalive interval' => 'Invalid Keepalive Interval (Must be between 0 and 65535)',
|
||||
'wg invalid local subnet' => 'Invalid local subnet',
|
||||
'wg invalid name' => 'Invalid name (Only letters, numbers, space and hyphen are allowed)',
|
||||
'wg invalid psk' => 'Invalid pre-shared key',
|
||||
'wg invalid public key' => 'Invalid public key',
|
||||
'wg invalid remote subnet' => 'Invalid remote subnet',
|
||||
'wg keepalive interval' => 'Keepalive Interval',
|
||||
'wg leave empty to automatically select' => 'Leave empty to automatically select',
|
||||
'wg missing allowed ips' => 'Missing AllowedIPs',
|
||||
'wg missing endpoint address' => 'Missing Endpoint Address',
|
||||
'wg missing endpoint port' => 'Missing Endpoint Port',
|
||||
'wg missing port' => 'Missing Port',
|
||||
'wg missing private key' => 'Missing Private Key',
|
||||
'wg missing public key' => 'Missing Public Key',
|
||||
'wg name is already used' => 'The name is already in use',
|
||||
'wg no local subnets' => 'No local subnets given',
|
||||
'wg no more free addresses in pool' => 'No more free addresses in pool',
|
||||
'wg no remote subnets' => 'No remote subnets given',
|
||||
'wg peer configuration' => 'Peer Configuration',
|
||||
'wg peer does not exist' => 'Peer does not exist',
|
||||
'wg pre-shared key (optional)' => 'Pre-Shared Key (optional)',
|
||||
'wg rw peers' => 'WireGuard Roadwarrior Peers',
|
||||
'wg scan the qr code' => 'Scan the QR code to import the WireGuard configuration into a mobile client.',
|
||||
'wg show configuration qrcode' => 'Show Configuration QR Code',
|
||||
'wg warning configuration only shown once' => 'Attention: This WireGuard configuration file will only be shown this one time as it contains private key material that is not being stored on IPFire.',
|
||||
'whitelisted' => 'Whitelisted',
|
||||
'whois results from' => 'WHOIS results from',
|
||||
'wildcards' => 'Wildcards',
|
||||
|
||||
Reference in New Issue
Block a user