Add center no nat

This commit is contained in:
2025-05-22 13:53:08 +02:00
parent 61e1204536
commit 250886a0ae
3 changed files with 55 additions and 10 deletions

9
wireguard/env_center.sh Normal file
View File

@@ -0,0 +1,9 @@
WG_NUM="1"
WG_IP="192.168.2.1/24" # IP of the server e.g. 192.168.2.1/24
WG_SUBNET="192.168.2.0/24" # Subnet of the server IP
PHY="eth0" # Physical interface for NAT out
LISTEN_PORT="51821" # Port to listen (e.g. 51820)
DNS_SERVER="8.8.8.8"
ALLOWED_IPS="$WG_SUBNET"