initial commit of file from CVS for smeserver-wireguard on Sat Sep 7 16:45:37 AEST 2024
This commit is contained in:
@@ -0,0 +1 @@
|
||||
51820
|
@@ -0,0 +1 @@
|
||||
public
|
@@ -0,0 +1 @@
|
||||
22
|
@@ -0,0 +1 @@
|
||||
enabled
|
@@ -0,0 +1 @@
|
||||
service
|
27
root/etc/e-smith/db/configuration/migrate/wireguard
Normal file
27
root/etc/e-smith/db/configuration/migrate/wireguard
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
my $wireguard = $DB->get('wg-quick@wg0') || $DB->new_record('wg-quick@wg0', {type => 'service'});
|
||||
|
||||
# add private and public key if not present
|
||||
unless (defined ${'wg-quick@wg0'}{'private'}) {
|
||||
$value= `/usr/bin/wg genkey`;
|
||||
chomp $value;
|
||||
$DB->set_prop('wg-quick@wg0', 'private', $value ) ;
|
||||
}
|
||||
# recreate public if empty or not the same
|
||||
$private=$DB->get_prop('wg-quick@wg0', 'private') ;
|
||||
$public=`/usr/bin/echo $private | /usr/bin/wg pubkey`;
|
||||
chomp $public;
|
||||
if ( ! defined ${'wg-quick@wg0'}{'public'} || ${'wg-quick@wg0'}{'public'} ne $public) {
|
||||
$DB->set_prop('wg-quick@wg0', 'public', $public) ;
|
||||
}
|
||||
|
||||
# default ip
|
||||
if ( ! defined ${'wg-quick@wg0'}{'ip'} ) {
|
||||
my $minimum=16;
|
||||
my $maximum=32;
|
||||
my $x = $minimum + int(rand($maximum - $minimum));
|
||||
$DB->set_prop('wg-quick@wg0', 'ip', "172.$x.0.1") ;
|
||||
}
|
||||
|
||||
}
|
||||
|
80
root/etc/e-smith/events/actions/wireguard-network
Executable file
80
root/etc/e-smith/events/actions/wireguard-network
Executable file
@@ -0,0 +1,80 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
package esmith;
|
||||
|
||||
use strict;
|
||||
use Errno;
|
||||
use esmith::ConfigDB;
|
||||
use esmith::AccountsDB;
|
||||
use NetAddr::IP;
|
||||
use Net::Netmask;
|
||||
use NetAddr::IP;
|
||||
|
||||
my $conf = esmith::ConfigDB->open;
|
||||
my $netdb = esmith::ConfigDB->open('networks');
|
||||
my $accounts = esmith::AccountsDB->open;
|
||||
esmith::ConfigDB->create('/home/e-smith/db/wireguard') unless (-f '/home/e-smith/db/wireguard');
|
||||
my $wg = esmith::ConfigDB->open('/home/e-smith/db/wireguard') or die 'wireguard db missing';
|
||||
my $wg0 = $conf->get('wg-quick@wg0');
|
||||
my $wgip = $wg0->prop('ip') or die 'wireguard IP not configured';
|
||||
my $wgmask = $wg0->prop('mask') or die 'wireguard network mask not configured';
|
||||
#wg-quick@wg0=service
|
||||
# ip=172.16.0.1
|
||||
# mask=22
|
||||
my $block = Net::Netmask->new("$wgip/$wgmask", shortnet => 1);
|
||||
my $ip = $block->base;
|
||||
my $mask = $block->mask;
|
||||
|
||||
#count clients
|
||||
my @client = $wg->get_all_by_prop(type=>"wg0");
|
||||
my $clients = scalar @client;
|
||||
|
||||
#check is_rfc1918
|
||||
#if yes proceed
|
||||
my $skipme = 0;
|
||||
my $rfc=NetAddr::IP->new($wgip,$wgmask);
|
||||
unless ( $rfc->is_rfc1918() ) {
|
||||
if ($clients == 0 ) {
|
||||
#if not and no clients make it compliant 172.16.0.1/22 as default
|
||||
my $minimum=16;
|
||||
my $maximum=32;
|
||||
my $x = $minimum + int(rand($maximum - $minimum));
|
||||
warn("$wgip/$wgmask is not considered as a LAN addressing, set default to 172.$x.0.1/22");
|
||||
$wgip="172.$x.0.1";$wgmask="22";
|
||||
$wg0->set_prop('ip',$wgip); $wg0->set_prop('mask',$wgmask);
|
||||
$block = Net::Netmask->new("$wgip/$wgmask", shortnet => 1);
|
||||
$ip = $block->base;
|
||||
$mask = $block->mask;
|
||||
}
|
||||
else {
|
||||
#if not and clients configured, disable service delete network
|
||||
warn("$wgip/$wgmask is not considered as a LAN addressing, adding this network to SME trusted network could allow email relaying. Disabling service.");
|
||||
warn("Please remove configured client and start your configuration from scratch");
|
||||
$wg0->set_prop('status','disabled');
|
||||
$skipme=1; $ip="nop";
|
||||
}
|
||||
}
|
||||
|
||||
#if yes proceed
|
||||
#if not and no clients make it compliant 172.16.0.1/22 as default
|
||||
#if not and clients configured, disable service delete network
|
||||
|
||||
#First delete any already there.
|
||||
my @wg = $netdb->get_all_by_prop(Wireguard=>"wg0");
|
||||
foreach my $netwg (@wg) {
|
||||
next if ($netwg->key eq $ip and $netwg->prop('Mask') eq $mask);
|
||||
print "delete " . $netwg->key;
|
||||
$netwg->delete();
|
||||
}
|
||||
# and then create one from the wireguard server ip
|
||||
my $iswg=$netdb->get($ip);
|
||||
unless ($iswg or $skipme == 1) {
|
||||
$netdb->new_record("$ip",{ type => "network",
|
||||
Mask => "$mask",
|
||||
Wireguard => "wg0",
|
||||
});
|
||||
system("/sbin/e-smith/signal-event network-create $ip");
|
||||
print "creating $ip network with $mask for $wgip/$wgmask";
|
||||
exit;
|
||||
}
|
||||
|
104
root/etc/e-smith/events/actions/wireguard-user-create
Executable file
104
root/etc/e-smith/events/actions/wireguard-user-create
Executable file
@@ -0,0 +1,104 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
package esmith;
|
||||
|
||||
use strict;
|
||||
use Errno;
|
||||
use esmith::ConfigDB;
|
||||
use esmith::AccountsDB;
|
||||
#use Net::IP;
|
||||
use NetAddr::IP;
|
||||
|
||||
my $conf = esmith::ConfigDB->open_ro;
|
||||
my $accounts = esmith::AccountsDB->open;
|
||||
esmith::ConfigDB->create('/home/e-smith/db/wireguard') unless (-f '/home/e-smith/db/wireguard');
|
||||
my $wg = esmith::ConfigDB->open('/home/e-smith/db/wireguard') or die 'wireguard db missing';
|
||||
my $wg0 = $conf->get('wg-quick@wg0');
|
||||
my $wgip = $wg0->prop('ip') or die 'wireguard IP not configured';
|
||||
my $wgmask = $wg0->prop('mask') or die 'wireguard network mask not configured';
|
||||
my $clientmask = 32;
|
||||
#wg-quick@wg0=service
|
||||
# ip=172.16.0.1
|
||||
# mask=22
|
||||
|
||||
|
||||
my $event = $ARGV [0];
|
||||
my $userName = $ARGV [1];
|
||||
my $info = $ARGV [2];
|
||||
|
||||
#------------------------------------------------------------
|
||||
# Create a wireguard peer for the user
|
||||
#------------------------------------------------------------
|
||||
|
||||
die "username argument missing" unless defined ($userName);
|
||||
|
||||
# check username exists in accounts as user or die
|
||||
|
||||
#TODO get network ip/bit if mask is not a bitmask
|
||||
|
||||
#TODO array of already used IP
|
||||
my @rec = ( defined $wg ) ? $wg->keys() : undef;
|
||||
push @rec, $wgip;
|
||||
my @out= map { (my $foo = $_) =~s/\/32//; $foo;} @rec;
|
||||
@rec= @out;
|
||||
|
||||
# get next available IP
|
||||
my $nextip=undef;
|
||||
#my $mid = new Net::IP($wgip, 4);
|
||||
#my $mask = Net::IP::ip_get_mask($wgmask, 4);
|
||||
#my $first = Net::IP::ip_bintoip($mid->binip() & $mask,4);
|
||||
#my $ip = new Net::IP("$first/$wgmask", 4) or die (Net::IP::Error());
|
||||
#do {
|
||||
# print $ip->ip(), "\n";
|
||||
# $nextip=$ip->ip();
|
||||
# exit unless (@rec ~~ $nextip);
|
||||
#} while (++$ip);
|
||||
sub make_ip_iterator {
|
||||
my $ip = shift;
|
||||
|
||||
my $mask = NetAddr::IP->new($ip);
|
||||
|
||||
my $i = 0;
|
||||
return sub {
|
||||
return $mask->nth($i++);
|
||||
}
|
||||
}
|
||||
my $iterator = make_ip_iterator("$wgip/$wgmask");
|
||||
while (my $ip = NetAddr::IP->new($iterator->())->addr() ) {
|
||||
print "$ip \n";
|
||||
next if ( $ip ~~ @rec );
|
||||
$nextip=$ip;
|
||||
last;
|
||||
}
|
||||
die "no IP available in defined range" unless defined($nextip);
|
||||
print "$nextip\n";
|
||||
|
||||
# generate private
|
||||
my $private= `/usr/bin/wg genkey`;
|
||||
chomp $private;
|
||||
my $public=`/usr/bin/echo $private | /usr/bin/wg pubkey`;
|
||||
chomp $public;
|
||||
|
||||
# wireguard
|
||||
# #private;public;ips;info#private;public;ips;info
|
||||
# #private and public is base64 : +/= could be in it
|
||||
# #ips can be v4 or v6 with subnet ./:,
|
||||
# #info could have letters, digit and space
|
||||
# # to separate multiple #
|
||||
my $allowedips ="";
|
||||
|
||||
# create db entry
|
||||
# db wireguard set IP/mask wg0 user $userName private $private public $public allowedips $allowedips info $info status disabled
|
||||
# do we want lan access ; do we want redirect gw/dns
|
||||
#print "db wireguard set $nextip/$clientmask wg0 user $userName private $private public $public allowedips $allowedips info $info status enabled\n";
|
||||
my %props = (
|
||||
'type', "wg0",
|
||||
'user', $userName,
|
||||
'private', $private,
|
||||
'public', $public,
|
||||
'allowedips', $allowedips,
|
||||
'info', $info,
|
||||
'status', 'enabled'
|
||||
);
|
||||
$wg->new_record( "$nextip/$clientmask", \%props );
|
||||
|
0
root/etc/e-smith/events/smeserver-wireguard-update/services2adjust/.gitignore
vendored
Normal file
0
root/etc/e-smith/events/smeserver-wireguard-update/services2adjust/.gitignore
vendored
Normal file
253
root/etc/e-smith/locale/bg/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/bg/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="bg">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Частен ключ</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Състояние</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Интерфейс</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/da/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/da/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="da">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Privat nøgle</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Status</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Interface</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/de/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/de/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="de">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Privater Schlüssel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Status</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Interface</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/el/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/el/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="el">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Private key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Status</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Γλώσσα Επιφάνειας</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="en-us">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Private key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Status</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Interface</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/es/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/es/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="es">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Información</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Clave privada</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Estado</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Información</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Interfaz</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/et/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/et/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="et">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Private key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Olek</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Liides</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/fr/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/fr/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="fr">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Panneau Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Bienvenue sur le panneau Wireguard. Vous pouvez modifier la configuration avant de créer un client, jeter un coup d'œil sur les connexions actives et gérer les clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Voici la configuration et l'état du service principal avec les clients actifs.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Éditer la configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Clé publique</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>IP distante</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>IP interne</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Dernière connexion</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Reçu</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Envoyé</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Rester en activité</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Voici la liste des clients configurés, vous pouvez accéder à leur exemple de configuration ou à leur code QR de configuration facile, modifier leur configuration, les supprimer ou créer de nouveaux clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configurer un nouveau client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>IP dédiée</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Utilisateur associé</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Ici, vous pouvez modifier la configuration. Attention, vous ne pouvez pas modifier l'adresse IP, le sous-réseau, les clés privées et publiques après avoir créé des clients. La raison en est que le client configuré devra également être modifié si vous le faites.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>IP interne du serveur Wireguard.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Masque de bits pour le réseau interne VPN (p.e. : 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Masque</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Clé privée du serveur, si elle n'existe pas, une sera générée.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Clef privée</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Clé publique du serveur générée à partir de la clé privée.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Clé publique</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Statut du service.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>État</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>Pour créer un nouveau client. veuillez sélectionner l'utilisateur et ajouter des informations pour identifier le besoin de ce client. La première IP disponible sera associée et une paire de clés privée/publique sera générée pour vous.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Sélectionner le compte d'utilisateur associé au client wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>Compte d'utilisateur</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Remplir une courte description pour se souvenir du besoin de ce client, puisqu'un utilisateur peut avoir de multiples clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>Vous pouvez copier coller cette configuration spécifique sur l'ordinateur de votre client ou scanner le code QR avec votre téléphone pour configurer votre client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>Vous pouvez modifier la configuration du client. Notez qu'il n'est pas nécessaire de fournir la clé privée si vous souhaitez la fournir à l'administrateur, mais vous ne pourrez pas utiliser le code QR pour configurer votre client et devrez l'ajouter manuellement.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Configuration de l'affichage</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>IP dédiée associée à ce client. C'est aussi son identité première.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Clé privée pour ce client, une est générée pour un accès facile, mais vous pouvez fournir la vôtre ou la laisser vide, elle est uniquement nécessaire pour utiliser le scan et configurer le code QR.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>La clé publique est générée à partir de la clé privée, vous pouvez fournir la vôtre, elle est obligatoire pour pouvoir se connecter au client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>Vous pouvez fournir manuellement les blocs IP qui seront redirigés via le VPN. Cela peut être configuré ultérieurement sur le client, mais cela est fourni pour faciliter la configuration avec le code QR. Voir la page de manuel de wireguard pour la syntaxe. Laissez-le vide pour que tout le trafic soit redirigé.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>IPs autorisées</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Voulez-vous supprimer ce client ?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>Vous devez fournir un nom d'utilisateur et de l'information pour créer un nouveau client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>Le compte associé doit être un compte utilisateur ou administrateur.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>Une erreur s'est produite</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>Vous ne pouvez pas modifier l'IP du serveur, le masque, les clés publique et privée quand des clients ont déjà été configurés.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>Pas de client configuré</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Interface</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/he/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/he/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="he">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Private key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>מצב</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>ממשק</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/hu/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/hu/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="hu">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Információ</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Személyes kulcs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Állapot</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Információ</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Felület</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/id/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/id/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="id">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Private key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Status</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Interface</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/it/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/it/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="it">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Chiave pubblica</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Informazioni</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Indirizzo IP interno server Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask per la rete interna della VPN (p.e. 22)</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Chiave provata per il server; se lasciato vuoto ne verrà generata una.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Chiave privata</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Chiave pubblica per il server gestita a partire da quella privata</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Chiave pubblica</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Stato</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Informazioni</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Interfaccia</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/ja/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/ja/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="ja">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>情報</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>秘密鍵</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>状態</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>情報</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>インターフェイス</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/nb/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/nb/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="nb">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Informasjon</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Privat nøkkel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Status</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Informasjon</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Grensesnitt</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/nl/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/nl/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="nl">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Informatie</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Privésleutel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Status</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Informatie</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Koppeling</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/pl/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/pl/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="pl">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Informacje</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Klucz osobisty</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Stan</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Informacje</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Interfejs</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="pt-br">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Informação</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Chave privada</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Status</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Informação</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Interface</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/pt/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/pt/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="pt">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Informação</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Chave privada</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Status</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Informação</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Interface</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/ro/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/ro/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="ro">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Private key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Stare</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Interfată</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/ru/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/ru/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="ru">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Закрытый ключ</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Состояние</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Интерфейс</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/sl/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/sl/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="sl">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Private key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Status</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Jezik vmesnika</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/sv/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/sv/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="sv">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Privat nyckel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Status</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Interface</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/th/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/th/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="th">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>ข้อมูล, ข้อมูลต่างๆ</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>กุญแจส่วนตัว</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>สถานะ</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>ข้อมูล, ข้อมูลต่างๆ</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>อินเทอร์เฟซ</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
253
root/etc/e-smith/locale/tr/etc/e-smith/web/functions/wireguard
Normal file
253
root/etc/e-smith/locale/tr/etc/e-smith/web/functions/wireguard
Normal file
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="tr">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>Private key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>Durum</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>Information</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>Arayüz</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="zh-cn">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard 面板</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>编辑配置</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>公钥</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>端口</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>信息</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>配置新客户端</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard 服务器 IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>VPN 网络的掩码 (比如: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>掩码</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>服务器私钥, 如果留空则会自动创建.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>私钥</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>公钥.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>公钥</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>服务状态.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>状态</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>账号</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>信息</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>显示配置</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>是否删除该客户端?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>出错了</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>网卡</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
@@ -0,0 +1,253 @@
|
||||
<lexicon lang="zh-tw">
|
||||
<entry>
|
||||
<base>WIREGUARD_TITLE</base>
|
||||
<trans>Wireguard panel</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>FORM_TITLE</base>
|
||||
<trans>Wireguard</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MAIN_PAGE</base>
|
||||
<trans>Welcome to the wireguard panel. You can edit the configuration before creating any client, have a quick look on active connections, and manage clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CONFIG</base>
|
||||
<trans>Here is the main service configuration and status with active clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>EDIT_CONFIG</base>
|
||||
<trans>Edit Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PUBLIC_KEY</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>IP</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>PORT</base>
|
||||
<trans>Port</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO</base>
|
||||
<trans>資訊</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ENDPOINT</base>
|
||||
<trans>Remote IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>VPN_IP</base>
|
||||
<trans>Internal IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LATEST_HANDSHAKE</base>
|
||||
<trans>Last handshake</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>RECEIVED</base>
|
||||
<trans>Received</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SENT</base>
|
||||
<trans>Sent</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>KEEPALIVE</base>
|
||||
<trans>Keep alive</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_CLIENTS</base>
|
||||
<trans>Here is the list of configured clients, You can access their configuration sample or easy configuration QR Code, alter their configuration, remove them or create new clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ADD_CLIENT</base>
|
||||
<trans>Configure new client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CONF_NAME</base>
|
||||
<trans>Dedicated IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>USER</base>
|
||||
<trans>Associated User</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MOD_CONFIG_PAGE</base>
|
||||
<trans>Here you can alter the configuration. Be carefull, you can not alter the IP, subnet, private and public keys after you have created clients. The reason is that configured client will also need to be modified if yo do so.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_IP_ACC_WIREGUARD</base>
|
||||
<trans>Wireguard server internal IP.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_IP_WIREGUARD</base>
|
||||
<trans>IP</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MASK_WIREGUARD</base>
|
||||
<trans>Bitmask for the VPN internal network (e.g.: 22).</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_MASK_WIREGUARD</base>
|
||||
<trans>Mask</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE_CONFIG</base>
|
||||
<trans>Private key for the server, if empty one will be generated.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PRIVATE</base>
|
||||
<trans>私鑰</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC_CONFIG</base>
|
||||
<trans>Public key for the server generated from the private key.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_PUBLIC</base>
|
||||
<trans>Public key</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_STATUS</base>
|
||||
<trans>Status of the sevice.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_STATUS</base>
|
||||
<trans>狀態</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ADD_CLIENT_PAGE</base>
|
||||
<trans>To create a new client. please select user and add information to identify the purpose of this client. The first available IP will be associated and a private/public key pair will be generated for you.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_SELECT_ACCOUNT</base>
|
||||
<trans>Select the associated user account to the wireguard client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>SELECT_ACCOUNT</base>
|
||||
<trans>User account</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_INFO_ACC_WIREGUARD</base>
|
||||
<trans>Fill a short description to remember what is the purpose of this client, as a user could have multiple clients.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INFO_ACC_WIREGUARD</base>
|
||||
<trans>資訊</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_DISPLAY_QR_PAGE</base>
|
||||
<trans>You can copy paste this specific configuration to your client computer, or scan the QR code with your phone to configure your client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_MODIFY_CLIENT_PAGE</base>
|
||||
<trans>You can alter the configuration of the client. Note that providing the private key is not required if you want to keep it secret from the admin, but you will not be able to use the QR code to configure your client and will have to add it manually.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>QRCODE</base>
|
||||
<trans>Display Configuration</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_CONF_NAME</base>
|
||||
<trans>Dedicated IP associated with this client. It is also its primary identity.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PRIVATE</base>
|
||||
<trans>Private key for this client, one is generated for easy access, but you can provide yours, or leave it blank, it is only needed to use the scan and configure QR code.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_PUBLIC</base>
|
||||
<trans>Public key is generated from private key, you can provide yours, it is mandatory to be able to connect the client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_ALLOWEDIPS</base>
|
||||
<trans>You can manually provide the IP blocks that will be redirected through the VPN. This can be configured later on the client, but is provided to ease configuration with QR code. See wireguard man page for syntax. Leave it blank for all traffic to be redirected.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>LABEL_ALLOWEDIPS</base>
|
||||
<trans>Allowed IPs</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>DESC_REMOVE_CLIENT</base>
|
||||
<trans>Do you want to remove this client?</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_FIELD_CONTENT</base>
|
||||
<trans>You must provide a user and information to create a new client.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_WRONG_ACCT_TYPE</base>
|
||||
<trans>The associated account shoult be a user or admin account.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>ERROR_OCCURED</base>
|
||||
<trans>An error occured</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>CLIENTS_ALREADY_CONFIGURED</base>
|
||||
<trans>You can not alter the server ip, mask, private and public key as there are already some clients configured.</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>NO_CONF</base>
|
||||
<trans>No configured client</trans>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<base>INTERFACE</base>
|
||||
<trans>介面</trans>
|
||||
</entry>
|
||||
|
||||
|
||||
</lexicon>
|
@@ -0,0 +1,3 @@
|
||||
UID="root"
|
||||
GID="root"
|
||||
PERMS=0640
|
@@ -0,0 +1,3 @@
|
||||
UID="root"
|
||||
GID="root"
|
||||
PERMS=0640
|
@@ -0,0 +1,3 @@
|
||||
UID="root"
|
||||
GID="root"
|
||||
PERMS=0640
|
@@ -0,0 +1,12 @@
|
||||
# wireguard specific configuration
|
||||
{
|
||||
$wg = $wireguard{status} || 'disabled';
|
||||
$wg0 = ${'wg-quick@wg0'}{status} || 'disabled';
|
||||
if ($wg0 eq 'enabled') {
|
||||
$OUT .= "enable wg-quick\@wg0.service\n";
|
||||
} else {
|
||||
$OUT .= "disable wg-quick\@wg0.service\n";
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1 @@
|
||||
{${'wg-quick@wg0'}{private};}
|
@@ -0,0 +1,8 @@
|
||||
{
|
||||
use esmith::templates;
|
||||
esmith::templates::processTemplate({
|
||||
TEMPLATE_PATH => "/etc/wireguard/server_private.key"
|
||||
});
|
||||
${'wg-quick@wg0'}{public};
|
||||
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
[Interface]
|
||||
Address = { ${'wg-quick@wg0'}{ip} . '/' . ${'wg-quick@wg0'}{mask}}
|
||||
ListenPort = {${'wg-quick@wg0'}{UDPPort} || '51820' }
|
||||
PrivateKey = {${'wg-quick@wg0'}{private}}
|
||||
|
||||
# this is not needed as we define vpn network as lan in network db
|
||||
# furthermore masquerading postrouting will also mess up with any openvpn-s2s vpn
|
||||
#PostUp = iptables -I FORWARD -i %i -j ACCEPT; iptables -I FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o {$outernet = ($SystemMode eq "serveronly") ? $InternalInterface{Name} : $ExternalInterface{Name}; return $InternalInterface{Name} } -j MASQUERADE
|
||||
#PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o {$outernet = ($SystemMode eq "serveronly") ? $InternalInterface{Name} : $ExternalInterface{Name}; return $InternalInterface{Name} } -j MASQUERADE
|
||||
|
@@ -0,0 +1,36 @@
|
||||
{
|
||||
use esmith::AccountsDB;
|
||||
|
||||
my $wg = esmith::ConfigDB->open_ro('/home/e-smith/db/wireguard');
|
||||
my $accounts = esmith::AccountsDB->open_ro;
|
||||
|
||||
# for each user
|
||||
my @users = ( $accounts->users );
|
||||
push(@users, $accounts->get('admin'));
|
||||
for my $user ( @users ) {
|
||||
my $username = $user->key;
|
||||
my $count = 0;
|
||||
for my $cnx ( $wg->get_all_by_prop(user => $username) ) {
|
||||
$count++;
|
||||
my $public = $cnx->prop('public');
|
||||
my $ip = $cnx->key;
|
||||
my $info = $cnx->prop('info');
|
||||
my $status = $cnx->prop('status') || "enabled";
|
||||
if ( $status eq "disabled" ) {
|
||||
$OUT .= "\n# $username : $info DISABLED (PublicKey = $public ; AllowedIPs = $ip)\n";
|
||||
next;
|
||||
}
|
||||
|
||||
$OUT .= "
|
||||
[Peer]
|
||||
# $username : $info
|
||||
PublicKey = $public
|
||||
AllowedIPs = $ip\n";
|
||||
|
||||
|
||||
}
|
||||
$OUT .= "# no entry for user $username\n" if $count <1;
|
||||
}
|
||||
|
||||
|
||||
}
|
221
root/etc/e-smith/web/functions/wireguard
Executable file
221
root/etc/e-smith/web/functions/wireguard
Executable file
@@ -0,0 +1,221 @@
|
||||
#! /usr/bin/perl -wT
|
||||
# vim: ft=xml:
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
# heading : Configuration
|
||||
# description : Wireguard
|
||||
# navigation : 6000 6750
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use esmith::FormMagick;
|
||||
use esmith::FormMagick::Panel::wireguard;
|
||||
|
||||
my $f = esmith::FormMagick::Panel::wireguard->new();
|
||||
$f->display();
|
||||
|
||||
__DATA__
|
||||
<form title="FORM_TITLE"
|
||||
header="/etc/e-smith/web/common/head.tmpl"
|
||||
footer="/etc/e-smith/web/common/foot.tmpl">
|
||||
|
||||
#----------------------------------------------------------------
|
||||
# MAIN PAGE
|
||||
#----------------------------------------------------------------
|
||||
<page name="FIRST_PAGE" pre-event="print_status_message()">
|
||||
<field type="literal" id="main_desc" value="">
|
||||
<description>DESC_MAIN_PAGE</description>
|
||||
</field>
|
||||
|
||||
<field type="literal" id="config_label" value="">
|
||||
<description>LABEL_CONFIG</description>
|
||||
</field>
|
||||
|
||||
<subroutine src="print_custom_button('EDIT_CONFIG', 'EDIT_CONF_PAGE')"/>
|
||||
|
||||
<subroutine src="print_config()"/>
|
||||
|
||||
|
||||
<subroutine src="print_section_bar()"/>
|
||||
|
||||
<field type="literal" id="client_label" value="">
|
||||
<description>LABEL_CLIENTS</description>
|
||||
</field>
|
||||
|
||||
<subroutine src="print_custom_button('ADD_CLIENT', 'ADD_CLIENT_PAGE')"/>
|
||||
|
||||
<subroutine src="print_conf_table('wg0')"/>
|
||||
|
||||
<subroutine src="print_section_bar()"/>
|
||||
|
||||
</page>
|
||||
#----------------------------------------------------------------
|
||||
# ADD CLIENT
|
||||
#----------------------------------------------------------------
|
||||
<page name="ADD_CLIENT_PAGE"
|
||||
pre-event="print_status_message()"
|
||||
post-event="performCreateClient()">
|
||||
|
||||
<field type="literal" id="main_desc" value="">
|
||||
<description>DESC_ADD_CLIENT_PAGE</description>
|
||||
</field>
|
||||
|
||||
<field id="account" type="select" options="existing_accounts()">
|
||||
<label>SELECT_ACCOUNT</label>
|
||||
<description>DESC_SELECT_ACCOUNT</description>
|
||||
</field>
|
||||
|
||||
<field id="info" type="text" value="get_cgi_param('info')">
|
||||
<label>INFO_ACC_WIREGUARD</label>
|
||||
<description>DESC_INFO_ACC_WIREGUARD</description>
|
||||
</field>
|
||||
|
||||
<subroutine src="print_button('ADD')"/>
|
||||
|
||||
|
||||
</page>
|
||||
#----------------------------------------------------------------
|
||||
# DISPLAY QR CODE
|
||||
#----------------------------------------------------------------
|
||||
<page name="DISPLAY_QR_PAGE"
|
||||
pre-event="print_status_message()"
|
||||
>
|
||||
|
||||
<field type="literal" id="main_desc" value="">
|
||||
<description>DESC_DISPLAY_QR_PAGE</description>
|
||||
</field>
|
||||
<subroutine src="print_qr()"/>
|
||||
</page>
|
||||
|
||||
|
||||
#----------------------------------------------------------------
|
||||
# MODIFY CLIENT
|
||||
#----------------------------------------------------------------
|
||||
<page name="MODIFY_CLIENT_PAGE"
|
||||
pre-event="print_status_message()"
|
||||
post-event="performModifyClient()">
|
||||
|
||||
<field type="literal" id="main_desc" value="">
|
||||
<description>DESC_MODIFY_CLIENT_PAGE</description>
|
||||
</field>
|
||||
|
||||
<subroutine src="print_section_bar()"/>
|
||||
|
||||
<subroutine src="print_client_name_field()"/>
|
||||
|
||||
<field id="account" type="select" options="existing_accounts()">
|
||||
<label>SELECT_ACCOUNT</label>
|
||||
<description>DESC_SELECT_ACCOUNT</description>
|
||||
</field>
|
||||
|
||||
<field id="info" type="text" value="get_cgi_param('info')" size="45">
|
||||
<label>INFO_ACC_WIREGUARD</label>
|
||||
<description>DESC_INFO_ACC_WIREGUARD</description>
|
||||
</field>
|
||||
|
||||
<field type="text" id="private" size="45">
|
||||
<description>DESC_PRIVATE</description>
|
||||
<label>LABEL_PRIVATE</label>
|
||||
</field>
|
||||
|
||||
<field type="text" id="public" size="45">
|
||||
<description>DESC_PUBLIC</description>
|
||||
<label>LABEL_PUBLIC</label>
|
||||
</field>
|
||||
|
||||
<field type="select" id="status" options="'disabled' => 'DISABLED', 'enabled' => 'ENABLED'">
|
||||
<description>DESC_STATUS</description>
|
||||
<label>LABEL_STATUS</label>
|
||||
</field>
|
||||
|
||||
<field type="text" id="allowedips" size="45">
|
||||
<description>DESC_ALLOWEDIPS</description>
|
||||
<label>LABEL_ALLOWEDIPS</label>
|
||||
</field>
|
||||
|
||||
|
||||
#TODO : redirect all, redirect lAN, redirect vpn host, redirect vpn all,
|
||||
#TODO : DNS
|
||||
|
||||
<subroutine src="print_button('MODIFY')"/>
|
||||
|
||||
|
||||
</page>
|
||||
|
||||
|
||||
#----------------------------------------------------------------
|
||||
# EDIT CONFIG
|
||||
#----------------------------------------------------------------
|
||||
<page name="EDIT_CONF_PAGE"
|
||||
pre-event="print_status_message()"
|
||||
post-event="performUpdateConfig()">
|
||||
|
||||
<field type="literal" id="main_desc" value="">
|
||||
<description>DESC_MOD_CONFIG_PAGE</description>
|
||||
</field>
|
||||
|
||||
<subroutine src="getConfig()"/>
|
||||
|
||||
<field id="ip" type="text" value="get_cgi_param('ip')">
|
||||
<label>INFO_IP_WIREGUARD</label>
|
||||
<description>DESC_IP_ACC_WIREGUARD</description>
|
||||
</field>
|
||||
|
||||
<field id="mask" type="text" value="get_cgi_param('mask')">
|
||||
<label>INFO_MASK_WIREGUARD</label>
|
||||
<description>DESC_MASK_WIREGUARD</description>
|
||||
</field>
|
||||
|
||||
<field type="text" id="private" size="45">
|
||||
<description>DESC_PRIVATE_CONFIG</description>
|
||||
<label>LABEL_PRIVATE</label>
|
||||
</field>
|
||||
|
||||
<field type="text" id="public" size="45">
|
||||
<description>DESC_PUBLIC_CONFIG</description>
|
||||
<label>LABEL_PUBLIC</label>
|
||||
</field>
|
||||
|
||||
<field type="select" id="status" options="'disabled' => 'DISABLED', 'enabled' => 'ENABLED'">
|
||||
<description>DESC_STATUS</description>
|
||||
<label>LABEL_STATUS</label>
|
||||
</field>
|
||||
|
||||
|
||||
<subroutine src="print_button('MODIFY')"/>
|
||||
|
||||
|
||||
</page>
|
||||
|
||||
<page name="REMOVE_CLIENT_PAGE" pre-event="turn_off_buttons()" post-event="remove_client()">
|
||||
<field type="literal" id="des_remove_conf">
|
||||
<description>DESC_REMOVE_CLIENT</description>
|
||||
</field>
|
||||
|
||||
<subroutine src="print_client_to_remove()"/>
|
||||
</page>
|
||||
|
||||
|
||||
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user