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

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

Open
ohshitgorillas opened this issue Apr 13, 2024 · 3 comments
Open

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

ohshitgorillas opened this issue Apr 13, 2024 · 3 comments

Comments

@ohshitgorillas
Copy link

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
Copy link

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
Copy link
Contributor

axzxc1236 commented May 28, 2024

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.

@qdm12
Copy link
Owner

qdm12 commented Jul 29, 2024

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.

Means you can only add an IPv6 address if your setup supports IPv6. You can have an IPv4 address always.

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.

Means you should really set both an ipv4 and ipv6 address to tunnel both ip families.

so it's IPv4 OR (IPv4 and IPv6).
Please let me know if you feel something could be reworded to be clearer 😉

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

No branches or pull requests

4 participants