Open jlyfshhh opened 4 years ago
OpenVPN needs Kernel modules, which you can't install in a container.
Damn, I didn't know that. Thanks. I guess I'll just have to install a full VM for my torrent setup.
I manage to use it in docker: https://github.com/krey/protonvpn-docker
@calebcaudill at least post your logs
~/.pvpn-cli/pvpn-cli.log
~/.pvpn-cli/ovpn.log
Ran into it too, see https://github.com/ProtonVPN/linux-cli/issues/161
Enabling ipv6 fixed the issue for me.
I noticed timeouts too.
Version: protonvpn-cli 2.2.2
I am using Ubuntu 20.04 and ovpn.log shows:
RTNETLINK answers: Permission denied
Fri May 8 20:00:31 2020 Linux ip -6 addr add failed: external program exited with error status: 2
Fri May 8 20:00:31 2020 Exiting due to fatal error
I had ipv6 disabled.
sysctl -w net.ipv6.conf.all.disable_ipv6=1
If I enable ipv6, then everything works fine .
I think it might be a change in ProtonVPN servers. Recently New Zealand had more servers added and I was only getting timeouts on those new servers. Old ones worked fine. Today old NZ servers are in maintenance, so I was pushed to troubleshoot a bit. Then I looked into the ovpn.log
and noticed that permission denied error about ipv6.
For now I will just keep ipv6 enabled, but it would be nice to support ipv6 disabled in the future releases.
So steps to reproduce:
`sysctl -w net.ipv6.conf.all.disable_ipv6=1 sudo protonvpn c nz-20
Result: Connecting to NZ#20 via UDP... Connection timed out after 45 Seconds
Expected results: Connecting to NZ#20 via UDP... Connected!
It might be a separate issue.
@MysticalGrape Check out #162 and #166. A release should be happening shortly with this fix. Once that's out, you just have to run protonvpn refresh
once and then everything will work again.
I have this installed in a Ubuntu 19.10 LXC container on Proxmox. Everything network related is working as it should. Both Proxmox and the LXC container have internet access, yet when I try to start the VPN, it always times out after 45 seconds no matter what server I am trying to connect to. I have tried rebooting, reinstalling and I am typing this after giving it 12 hours and trying again. Not sure what else to do at this point.