-
Notifications
You must be signed in to change notification settings - Fork 46
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
Custom NordVPN won't connect #59
Comments
Hi, Thanks for the detailed logs. Please try running it with the In that case you should be able to access the internet as usual via the namespace, i.e. with Also check that no other firewall is enabled i.e. Note that the bind error for I'll see if I can test this on a similar case in Mullvad tonight (or perhaps even sign up to NordVPN). Could you please paste the OpenVPN config file itself too if possible? |
Hi James, Thanks for the quick response! With some further testing, it appears that my ufw rules were indeed the issue. When I temporarily disabled ufw, it worked just fine. That confused me a bit because I had just been playing with
Now I'm seeing that vopono doesn't add those rules. I'm wondering, given that vopono is already adding rules to Either way, I'll close this issue as solved -- thanks for the help! And now that I have at least gotten it working with NordVPN, I'd be happy to work on a PR to add it as another provider. I see you've already got it on the list, so I can help with crossing one of those off at least! |
Thanks for replying with the fix! I created an issue to add those rules alongside the masquerade one on the host - #60 Also feel free to post an issue if you have any questions about adding a new provider. There are some details in https://github.com/jamesmcm/vopono/blob/master/CONTRIBUTING.md I imagine the PrivateInternetAccess code would be the best to look at: https://github.com/jamesmcm/vopono/tree/master/src/providers/pia (since at the moment it only includes OpenVPN support and will probably have a similar configuration). i.e. we download the zip file from the user's provided options in the dialogue, then iterate through the config files and modify them so that they won't ask for the user and pass directly (but we can provide it with a file), then we ask for the user and pass and save that too. |
I'm trying to use the
--custom
flag to use NordVPN via OpenVPN. However, it seems to get stuck on "Attempting to establish TCP connection..." and I'm trying to troubleshoot.Here's the command I'm running:
vopono -v exec --custom /etc/openvpn/client/ovpn_tcp/ca1074.nordvpn.com.tcp.ovpn --protocol openvpn "bash"
The config files are downloaded straight from the NordVPN website. Here's the output I receive:
From there it repeats as it times out and retries.
And here's an output dump of some other potentially relevant info:
I don't see anything in particular there that jumps out at me -- the namespace seems to be set up, I can ping inside and outside just fine, and pinging the VPN server also seems to work. But vopono seems to just not be able to connect for some reason. The only particular error I see at all is this issue with trying to bind the openvpn.log, but I'm not sure if that's necessary or related. Any thoughts?
Edit: I should add that connecting directly via
sudo openvpn
works as expected, so again, it doesn't seem to be an issue with the VPN connection itself.The text was updated successfully, but these errors were encountered: