Files
projects/Dockers/vpn-proxy/env.example
T
Bram a71b3adb40
Build and Push Docker Images / build-and-push (push) Successful in 3m37s
vpn proxy
2025-09-06 22:16:54 +02:00

26 lines
678 B
Plaintext

# VPN Proxy Environment Variables
# Target URL to proxy (required)
# This is the website you want to access through the VPN
PROXY_URL=https://example.com
# VPN Configuration file path (required)
# Mount your .ovpn or .conf file and specify the path here
VPN_CONFIG=/vpn/config.ovpn
# VPN Type (optional, defaults to openvpn)
# Options: openvpn, wireguard
VPN_TYPE=openvpn
# Example usage:
# docker run -d \
# --name vpn-proxy \
# --cap-add=NET_ADMIN \
# --device /dev/net/tun \
# -p 3128:3128 \
# -e PROXY_URL=https://example.com \
# -e VPN_CONFIG=/vpn/config.ovpn \
# -e VPN_TYPE=openvpn \
# -v /path/to/your/config.ovpn:/vpn/config.ovpn:ro \
# vpn-proxy