Jump to content
Not connected, Your IP: 3.21.33.186
milkaca

Docker no internet when AirVPN is on with Network Lock

Recommended Posts

Hi,

I am using Hummingbird v1.2.0 on my Debian 11 machine and start it with this command:
sudo ./hummingbird --ignore-dns-push --network-lock on your_openvpn_file.ovpn

Recently I installed Docker and added Home Assistant OS (hassio) and Portainer containers. When I start the VPN by running the above command, my Home Assistant container is not having Internet connection any longer and Portainer web UI is not even accessible.
If I disable network lock by setting it to off it all works fine.

Can someone please explain why my docker cannot use VPN connection to access the Internet when using Network lock, are there any rules I need to add in addition to allow it?

Thank you in advance.

 

Share this post


Link to post

Have the same problem with Debian 12.10 and Eddie V2.24.6
When you enable AirVPN, it will move /etc/resolv.conf and replaces it with it's own. It does this also without Network Log.
If you use AirVPN without Network Log, after disabling AirVPN, it will not revert this file, so wenn disabling, Docker will still not work.

/etc/resolv.conf
AirVPN on:
nameserver 10.128.0.1
nameserver fd7d:76ee:e68f:a993::1

AirVPN off:
nameserver 9.9.9.9
nameserver 149.112.112.112

I'm still troubleshooting how I can get Docker run with AirVPN, so that Docker containers get an internet connection.

Share this post


Link to post
9 hours ago, Shack said:

When you enable AirVPN, it will move /etc/resolv.conf and replaces it with it's own. It does this also without Network Log.


Hello!

Please note that this feature, which is mandatory to query VPN DNS, is opt-out. In Eddie's "Preferences" > "DNS" window you can configure your own DNS and tell Eddie not to check DNS.
 
9 hours ago, Shack said:

If you use AirVPN without Network Log, after disabling AirVPN, it will not revert this file


It will, it restores the previous one. If that doesn't happen something weird is going on (a bug?), feel free to open a ticket.
 
9 hours ago, Shack said:

I'm still troubleshooting how I can get Docker run with AirVPN


Maybe this info can be useful: consider that GlueTun supports AirVPN out of the box and offers a good level of integration with countries, locations, specific servers and inbound remote port forwarding.
https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/airvpn.md

Kind regards

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

×
×
  • Create New...