-
-
Notifications
You must be signed in to change notification settings - Fork 374
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: openvpn ip -6 addr
and error RTNETLINK answers: Permission denied
#2450
Comments
@qdm12 is more or less the only maintainer of this project and works on it in his free time.
|
The problem seems to be openvpn trying to add an ipv6 address to tun0 and getting denied permission.
Any idea why that would be? Otherwise, does one of the following workaround fix it?
|
ip -6 addr
and error RTNETLINK answers: Permission denied
Thank you for your quick response! No, i have no clue as to why it would not allow setting an IPv6. My network allows and is properly set up for IPv6, addresses are issued as they should. 1 did not work (same error message) Thanks! |
Ok that is rather strange! On the success tries, for example |
Negative, i only receive /sbin/ip messages like public IPv4 and MTU 1500. Here are a few examples (redacted ip obviously) [openvpn] /sbin/ip link set dev tun0 up mtu 1500 |
Just to triple check, are you sure if you run the latest image, and set |
Let me get back to you on a later date, i am currently out of town and sort of AFK. Sunday at the earliest |
I am having same issue on synology as well see log below
|
Sorry, it took slightly longer. I have just checked again. OPENVPN_VERSION=2.5 with gluetun:latest |
Have you tried adding sysctls:
- net.ipv6.conf.all.disable_ipv6=0 to your compose file? |
Lol, i have completely missed your response! |
Interesting! I'm working in #2523 on improving IPv6 support detection, since it's, as you've seen, not really reliable. This would also solve a few issues, including this one. |
Is this urgent?
No
Host OS
Synology DSM 7.1.1
CPU arch
x86_64
VPN service provider
PrivateVPN
What are you using to run the container
Portainer
What is the version of Gluetun
Running version latest built on 2024-08-25T07:04:32.409Z (commit 01fa993)
What's the problem 🤔
Since a few hours my gluetun is unable to connect to my VPN provider (Perfect Privacy, not available in form Dropdown!!!).
FAQ healthcheck and update provider list have been checked and done already.
Update seems to be successful as per „last edited“ of that json file on host.
Seems related to RTNETLINK issue as per the logs. Unsure on how to solve this
Share your logs (at least 10 lines)
Share your configuration
The text was updated successfully, but these errors were encountered: