Skip to content

This repository contains the configuration to run protonvpn with wireguard and even turn it into a proxy accessible on the host machine.

License

Notifications You must be signed in to change notification settings

moz4rtdev/protonvpn-wg-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

protonvpn-wg-docker

This repository contains the configuration to run protonvpn with wireguard and even turn it into a proxy accessible on the host machine.

Build

docker build -t protonvpn-wireguard .

USAGE

Note

I recommend that you create a folder and put your wg settings in it and then mount it along with the docker containe, after that you must pass two variables along with the docker command CONF and PORT, your protonvpn configuration for wireguard should not have the DNS attribute, if it does, remove it as it will give an error and docker will automatically resolve the DNS.

EXAMPLE CONF PROTON

[Interface]
PrivateKey = xxxxxxxxxxxxxxxxxxxxxxx
Address = xx.xx.x/x
DNS = xx.x.x.x <- remove or comment this

[Peer]
PublicKey = xxxxxxxxxxxxxxxxxxxx
AllowedIPs = x.x.x.x/x, ::/x
Endpoint = x.x.x.x.:xxxx

RUN

docker run -d -v $(pwd)/configs:/root/configs --cap-add=NET_ADMIN -e CONF=wg0 -e PORT=9001 -p 9001:9001 --name proton-proxy protonvpn-wireguard

TEST IP

curl -x http://localhost:9001 ifconfig.me

About

This repository contains the configuration to run protonvpn with wireguard and even turn it into a proxy accessible on the host machine.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published