Jump to content
Not connected, Your IP: 18.220.110.45
Sign in to follow this  

Recommended Posts

I am using pterodactyl and using airvpn to port foward it, and in order to do that the docker containers run on the interface tun0, the issue is every so often the ip of tun0 changes

for example it could be 10.23.45.4 one day, then it changes a few days later to another one such as 10.16.122.7

How can I prevent this IP from changing

Share this post


Link to post
On 12/16/2019 at 4:51 PM, Joseph Maldjian said:

...
How can I prevent this IP from changing


See this:

https://github.com/tool-maker/VPN_just_for_torrents/wiki/Running-OpenVPN-on-Linux-without-VPN-as-Default-Gateway
 
Quote
...
The sample scripts below use IPTABLES to create the illusion of a fixed IP address for the VPN interface so that you can do the client program's configuration once.
...

I imagine this "fake" IP address would work with docker.
 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...