Visitar URL original
hamlet/services/wg-easy at main · scottsweb/hamlet · GitHub
Skip to content

Latest commit

 

History

History

wg-easy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

readme.md

WireGuard Easy

WireGuard Easy provides an easy way to run WireGuard VPN, with a simple web UI.

.env

PASSWORD_HASH=!password
TZ=Europe/London
WG_DEFAULT_DNS=10.89.0.1
WG_ALLOWED_IPS=192.168.1.0/24, 10.89.0.0/24, 10.8.0.0/24
WG_HOST=example.com

Firewall

sudo firewall-cmd --permanent --zone=FedoraServer --add-service=wireguard

Use sudo firewall-cmd --reload to reload the firewall.

Reference: How to find a list of services supported by firewalld

Kernel modules

WireGuard requires some additional Kernel modules. Modify sudo nano /etc/modules-load.d/wireguard.conf and add the following:

ip_tables

# add these too if your using another OS (they are already enabled on uCore)
wireguard
nft_masq

Modules can be temporarily loaded with modprobe ip_tables and lsmod can be used to check which modules are active. The modules above should be auto-loaded on future reboots.