qdm12 / gluetun-wiki

Home to the Markdown Wiki page for Gluetun
MIT License
269 stars 31 forks source link

AirVPN: IPv6 only vs IPv4 only but not both? #64

Open ohshitgorillas opened 2 months ago

ohshitgorillas commented 2 months ago

URL to the Wiki page

https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/airvpn.md

What's missing?

First, from the AirVPN config page:

⚠️ WIREGUARD_ADDRESSES may only contain an IPv6 address (such as ff:ff.../128) if your container setup supports IPv6. To do so, see the IPv6 document. Otherwise, remove the IPv6 address from WIREGUARD_ADDRESSES.

And second, from the IPv6 page:

Wireguard: modify the WIREGUARD_ADDRESSES value to have both an IPv4 and IPv6 address. Note if you only set an IPv6 Wireguard address, all IPv4 traffic won't go through which is undesirable.

Does this mean that gluetun either only supports IPv4 or IPv6 when it comes to AirVPN, but not both?

ezekieldas commented 2 months ago

I think it can support both if you enable ipv6 in Docker as shown in the page you mentioned. I wasn't successful and simply disabled ipv6 like so:

    sysctls:
      - net.ipv6.conf.all.disable_ipv6=1
axzxc1236 commented 4 weeks ago

Does this mean that gluetun either only supports IPv4 or IPv6 when it comes to AirVPN, but not both?

From my day to day usage both IPv4 and IPv6 can be enabled at the same time, and I can see both IPv4 and IPv6 peers in qbittorrent.