Files
2025-12-19 22:53:46 +00:00

25 lines
794 B
Bash
Executable File

# General UID/GIU and Timezone
TZ=Berlin/Europe
PUID=1000
PGID=1000
# Input your VPN provider and type here
VPN_SERVICE_PROVIDER=protonvpn
VPN_TYPE=wireguard
#WIREGUARD_ENDPOINT_PORT=51820
#WIREGUARD_ENDPOINT_IP=79.127.184.216
#VPN_DNS_ADDRESS=10.2.0.1
# Copy all these varibles from your generated configuration file
#WIREGUARD_PUBLIC_KEY=snSASVcKZegpITPNw2scm44NBC6NPUropoTkfEGtq18=
WIREGUARD_PRIVATE_KEY=aEdH/9nZ0zcvOhAIfI7N/+RlcFqQuelV8nmN4R50hG4=
#WIREGUARD_ADDRESSES=10.2.0.2/32
SERVER_COUNTRIES=Switzerland
# Heath check duration
HEALTH_VPN_DURATION_INITIAL=120s
PORT_FORWARD_ONLY=on
VPN_PORT_FORWARDING=on
VPN_PORT_FORWARDING_UP_COMMAND=/bin/sh -c 'wget -O- --retry-connrefused --post-data "json={\"listen_port\":{{PORTS}}}" http://127.0.0.1:8099/api/v2/app/setPreferences 2>&1'