#! /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__
#---------------------------------------------------------------- # MAIN PAGE #---------------------------------------------------------------- DESC_MAIN_PAGE LABEL_CONFIG LABEL_CLIENTS #---------------------------------------------------------------- # ADD CLIENT #---------------------------------------------------------------- DESC_ADD_CLIENT_PAGE DESC_SELECT_ACCOUNT DESC_INFO_ACC_WIREGUARD #---------------------------------------------------------------- # DISPLAY QR CODE #---------------------------------------------------------------- DESC_DISPLAY_QR_PAGE #---------------------------------------------------------------- # MODIFY CLIENT #---------------------------------------------------------------- DESC_MODIFY_CLIENT_PAGE DESC_SELECT_ACCOUNT DESC_INFO_ACC_WIREGUARD DESC_PRIVATE DESC_PUBLIC DESC_STATUS DESC_ALLOWEDIPS #TODO : redirect all, redirect lAN, redirect vpn host, redirect vpn all, #TODO : DNS #---------------------------------------------------------------- # EDIT CONFIG #---------------------------------------------------------------- DESC_MOD_CONFIG_PAGE DESC_IP_ACC_WIREGUARD DESC_MASK_WIREGUARD DESC_PRIVATE_CONFIG DESC_PUBLIC_CONFIG DESC_STATUS DESC_REMOVE_CLIENT