Add center no nat
This commit is contained in:
9
wireguard/env_center.sh
Normal file
9
wireguard/env_center.sh
Normal 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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user