Files
linux-install-helper/wireguard/env_center.sh
2025-05-22 13:53:08 +02:00

10 lines
268 B
Bash

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"