- Create .env.example with all configurable settings:
- Server IPs (RU_VDS_IP, DE_VDS_IP)
- WireGuard ports (WG_CLIENT_PORT, WG_TUNNEL_PORT)
- VPN networks (USER_VPN_NETWORK, TUNNEL_NETWORK)
- DNS settings, SSH port, timeouts
- Add .gitignore to exclude .env from version control
- Update setup-ru-vds.sh to read from .env
- Update setup-de-vds.sh to read from .env
- Update add-client.sh to use configuration
- Setup scripts save config to /etc/wireguard/vpn.conf for runtime use
- Update documentation with .env usage instructions
This allows easy deployment to test environments by simply
changing values in .env before running setup scripts.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>