feat: add web proxy target allowlist support via NEXAVPN_ALWAYS_ALLOW_WEB_PROXY_IPS environment variable
Add alwaysAllowWebProxyTargets function to parse comma-separated IPs from NEXAVPN_ALWAYS_ALLOW_WEB_PROXY_IPS environment variable with deduplication. Update mergeProfileAllowedIPs to accept webProxyTargets parameter and merge them into profile allowed IPs using /32 routes. Add WebProxyTargets field to wireguard.Peer struct and populate it in BuildSyncBundle and device enrollment/policy application
This commit is contained in:
@@ -24,3 +24,4 @@ NEXAVPN_GATEWAY_INTERFACE=wg0
|
||||
NEXAVPN_UPLINK_INTERFACE=eth0
|
||||
NEXAVPN_ENABLE_MASQUERADE=true
|
||||
NEXAVPN_BACKEND_HOST=127.0.0.1
|
||||
NEXAVPN_ALWAYS_ALLOW_WEB_PROXY_IPS=172.16.0.109
|
||||
|
||||
Reference in New Issue
Block a user