This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user