-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
Bug: Cannot connect to AirVPN - ipv6 error #1648
Comments
Now you don't NEED to have ipv6 enabled, but if you want to, you can check it's enabled with a container by running: docker run -it --rm alpine:3.18 ip -6 route That is more or less how Gluetun checks for IPv6 support. |
Thanks so much for the quick response. You were right and my apologies for the obvious mistake. Completely removing the container config directory after bringing down the containers has fixed the issue. While I have your attention, this is the most invaluable container for my entire setup. Thanks so much for all the amazing work on this! |
However when intending to use container network stack sharing, this test seems to also falsely detect lack of IPv6 support when intending to use IPv6 only with Wireguard. Like in original example appending a IPv6 address to container (tun0) without IPv6 (ethX) fails. https://docs.docker.com/engine/reference/run/#network-settings |
@uncapped1599 Awesome and thanks 💯 @qriff can you mention in more details this in #1563 and answer:
Closing this since it's resolved and this is going a bit out of topic |
For others wondering how to enable IPv6 with gluetun: Caultion: IPv6 is experimental in docker and I can't gurantee privacy and security, I am not a docker expert, very far from being one.
(basically https://docs.docker.com/config/daemon/ipv6/#use-ipv6-for-the-default-bridge-network but replaced IP range with unique local address)
(reference: dperson/openvpn-client#75 (comment))
|
@axzxc1236 this is awesome, thanks for sharing? Would you mind perhaps opening a pull request on https://github.com/qdm12/gluetun-wiki and create a |
Is this urgent?
Yes
Host OS
Ubuntu 22.04.2 LTS
CPU arch
x86_64
VPN service provider
AirVPN
What are you using to run the container
docker-compose
What is the version of Gluetun
Running version latest built on 2023-06-01T16:49:06.663Z (commit 943943e)
What's the problem 🤔
I have just decided to migrate my gluetun containers to AirVPN but I simply cannot get the config to work for UK servers. It keeps throwing an ipv6 error, please see logs.
I have tried removing the ipv6 address from the WIREGUARD_ADDRESSES env variable, connecting to an AirVPN server with ipv4 rather than ipv6 as per servers.json - in this case with SERVER_NAMES=Asterion & enabling ipv6 through sysctls. Nothing seems to work. Any ideas what it could be?
Share your logs
Share your configuration
The text was updated successfully, but these errors were encountered: