Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to modify default Ports #29

Open
MaraScott opened this issue Jun 7, 2016 · 2 comments
Open

How to modify default Ports #29

MaraScott opened this issue Jun 7, 2016 · 2 comments

Comments

@MaraScott
Copy link

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 ?

@jpetazzo
Copy link
Owner

You'll need to change:

  • the docker run parameters (change the left-hand side of the port map)
  • the client configuration file

@volodalexey
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants