dockvpn
dockvpn copied to clipboard
How to modify default Ports
Hi, I want to use the dockvpn behind a proxy. I try to assign
- 110 to 8080
- 112 to 443
- 111 to 1194
But this is not working, either I assign port through docker container or I modify the files 'run' and serverconfig'
How can I do it ?
You'll need to change:
- the
docker run
parameters (change the left-hand side of the port map) - the client configuration file
Run with different port:
CID=$(docker run -d --privileged -p 9999:1194/udp -p 8888:443/tcp jpetazzo/dockvpn)
When you downloaded the config file, open it in text editor and change:
<connection>
remote 255.255.255.255 9999 udp
</connection>
<connection>
remote 255.255.255.255 8888 tcp-client
</connection>
Where 255.255.255.255
should be your server IP.
In this example I used 9999
for UDP
and 8888
for TCP