NordVPN


Recommended Posts

My container stalls in starting and shows no logs. I pretty much kept the template on default with my login credentials and network set to bridge. Have you been able to get this to work yourself yet? I appreciate the work BTW, I've been trying to get this bubuntux container to work for over a year. 

Link to comment

cool the nordvpn container itself is working and running through a vpn. how do i get containers like torrent clients & sonarr to work? i tried the --net=container:nordvpn but still can't load up web ui

 

figured it out. had to edit nordvpn contain show advanced view then add the ports for each other container. then tick "Required: Yes"

Edited by dangitzin
solved my own problem
Link to comment
5 hours ago, dangitzin said:

cool the nordvpn container itself is working and running through a vpn. how do i get containers like torrent clients & sonarr to work? i tried the --net=container:nordvpn but still can't load up web ui

 

figured it out. had to edit nordvpn contain show advanced view then add the ports for each other container. then tick "Required: Yes"

You got this! I think I will edit the template with some guide-lines so everyone can figure it out. Thanks!

Link to comment
8 hours ago, bonsaibobby said:

My container stalls in starting and shows no logs. I pretty much kept the template on default with my login credentials and network set to bridge. Have you been able to get this to work yourself yet? I appreciate the work BTW, I've been trying to get this bubuntux container to work for over a year. 

Try adding this Variable and post the logs (REMEMBER TO REMOVE YOUR CREDENTIALS)

image.png.4ec77c3f649e01c5ef6d2c16b4f43464.png

Link to comment

When editing the container there was an issue with the old container not being removed. I turned docker service off and on again and reset the container. It worked from there. Is there some way of auto-enabling a killswitch?

Edit: Also how do I set containers to be routed through this one?

Edited by bonsaibobby
Link to comment
2 hours ago, bonsaibobby said:

When editing the container there was an issue with the old container not being removed. I turned docker service off and on again and reset the container. It worked from there. Is there some way of auto-enabling a killswitch?

Edit: Also how do I set containers to be routed through this one?

Killswitch is enabled by default. You can disable it adding another variable, but I did not include it (feel free to do so if needed).

 

Updated the template adding a @SpaceInvaderOne (if that's ok with him) guide on how to route other docker through this one (here's the link: https://www.youtube.com/watch?v=znSu_FuKFW0)

Edited by Zotarios
Update template done
Link to comment
On 5/29/2021 at 10:05 AM, Zotarios said:

Killswitch is enabled by default. You can disable it adding another variable, but I did not include it (feel free to do so if needed).

 

Updated the template adding a @SpaceInvaderOne (if that's ok with him) guide on how to route other docker through this one (here's the link: https://www.youtube.com/watch?v=znSu_FuKFW0)

unraidnordvpn.PNG.8aab8d018bf6d5be7253c6627e3dc235.PNG

I happened to check the log because my downloads/uploads speeds were dropping until it hit 0 but I guess it was the container acquiring a new ip. Was that what you meant by the killswitch is built in? Anyways I found this line show up a couple times since starting the service and I remembered this post. I didn't do anything except add some ports to the container. Is this normal or is there any variables I can put in to enable it? Or it already is enabled because of the event I described and it's just showing up as disabled?

Link to comment
5 hours ago, dangitzin said:

unraidnordvpn.PNG.8aab8d018bf6d5be7253c6627e3dc235.PNG

image.png.01eee8a35d0fde123c66dc3243aa229a.png

It's enabled via iptables (https://github.com/bubuntux/nordvpn/blob/master/start_vpn.sh) but you can still enable it via nordvpn deamon (https://github.com/bubuntux/nordvpn/blob/0477965d5c1160a76a48844b43378e558656f23e/start_vpn.sh#L148). I didn't check the code enough to tell you if that would be better...

 

5 hours ago, dangitzin said:

I happened to check the log because my downloads/uploads speeds were dropping until it hit 0 but I guess it was the container acquiring a new ip.

It should not happen. The docker checks if you are protected and if not, reload the deamon (get a new server).

Link to comment

I had been using an install I setup using the bubuntux container for the past year. Was only ever able to get it working in openvpn mode, could never get nordlynx to work. I was hoping you had figured out something I missed but apparently not, still can't manage to stay connected with nordlynx. For some reason in qbittorrent DHT nodes drop to zero and transfer speeds grind to a halt.

Link to comment
On 6/2/2021 at 7:39 PM, shiftylilbastrd said:

I had been using an install I setup using the bubuntux container for the past year. Was only ever able to get it working in openvpn mode, could never get nordlynx to work.

It appears that you aren't the only one:  https://github.com/bubuntux/nordvpn/issues/75

 

 

Question of my own, what's the syntax format for the "Location" variable?  I tried to use: "us8297.nordvpn.com" which resulted in, "[Warning] could not determine server tag" and "[Error] picking servers: no servers found" in the log window.  If I leave the "Location" variable empty (let the docker/app auto-detect the server) the log stops at "Connecting..."

2021-06-03T10:01:46-05:00] Firewall is up, everything has to go through the vpn
[2021-06-03T10:01:46-05:00] Enabling connection to secure interfaces
[2021-06-03T10:01:46-05:00] Enabling connection to nordvpn group
[2021-06-03T10:01:46-05:00] Enabling connection to docker network
[2021-06-03T10:01:46-05:00] Enabling connection to network 192.168.100.0/24
[2021-06-03T10:01:46-05:00] Restarting the service
[2021-06-03T10:01:46-05:00] Waiting for the service to start
[2021-06-03T10:01:47-05:00] Logging in
[2021-06-03T10:01:53-05:00] Setting up NordVPN Version 3.9.5
CyberSec is already set to 'disabled'.
DNS is set to '1.0.0.1, 1.1.1.1, 8.8.8.8' successfully.
Technology is already set to 'OpenVPN'.
Subnet 172.17.0.0/16 is whitelisted successfully.
Subnet 192.168.100.0/24 is whitelisted successfully.
Port 9091 (UDP|TCP) is whitelisted successfully.
Port 54321 (UDP|TCP) is whitelisted successfully.
[2021-06-03T10:01:53-05:00] Connecting...

Just edited the container, adding environment variable DEBUG=on; no new information.


[2021-06-03T10:10:09-05:00] Firewall is up, everything has to go through the vpn
[2021-06-03T10:10:09-05:00] Enabling connection to secure interfaces
[2021-06-03T10:10:09-05:00] Enabling connection to nordvpn group
[2021-06-03T10:10:09-05:00] Enabling connection to docker network
[2021-06-03T10:10:09-05:00] Enabling connection to network 192.168.100.0/24
[2021-06-03T10:10:09-05:00] Restarting the service
[2021-06-03T10:10:09-05:00] Waiting for the service to start
[2021-06-03T10:10:10-05:00] Logging in
[2021-06-03T10:10:21-05:00] Setting up NordVPN Version 3.9.5
CyberSec is already set to 'disabled'.
DNS is set to '1.0.0.1, 1.1.1.1, 8.8.8.8' successfully.
Technology is already set to 'OpenVPN'.
Subnet 172.17.0.0/16 is whitelisted successfully.
Subnet 192.168.100.0/24 is whitelisted successfully.
Port 9091 (UDP|TCP) is whitelisted successfully.
Port 54321 (UDP|TCP) is whitelisted successfully.
Protocol: UDP
Firewall: enabled
Kill Switch: disabled
CyberSec: disabled
Obfuscate: disabled
Notify: disabled
Auto-connect: disabled
DNS: 1.0.0.1, 1.1.1.1, 8.8.8.8
Whitelisted ports:
9091 (UDP|TCP)
54321 (UDP|TCP)
Whitelisted subnets:
172.17.0.0/16
192.168.100.0/24
[2021-06-03T10:10:21-05:00] Connecting...
[2021-06-03T10:10:21-05:00] Setting up NordVPN Version 3.9.5
CyberSec is already set to 'disabled'.
DNS is set to '1.0.0.1, 1.1.1.1, 8.8.8.8' successfully.
Technology is already set to 'OpenVPN'.
Subnet 172.17.0.0/16 is whitelisted successfully.
Subnet 192.168.100.0/24 is whitelisted successfully.
Port 9091 (UDP|TCP) is whitelisted successfully.
Port 54321 (UDP|TCP) is whitelisted successfully.
Protocol: UDP
Firewall: enabled
Kill Switch: disabled
CyberSec: disabled
Obfuscate: disabled
Notify: disabled
Auto-connect: disabled
DNS: 1.0.0.1, 1.1.1.1, 8.8.8.8
Whitelisted ports:
9091 (UDP|TCP)
54321 (UDP|TCP)
Whitelisted subnets:
172.17.0.0/16
192.168.100.0/24
[2021-06-03T10:10:21-05:00] Connecting...

 

If I open the console for the Nordvpn container, and type the CLI: "curl ifconfig.io" the reported IP address is NOT my WAN IP, but appears to be a NORD server/node: 207.38.90.204.  However, when I open my Transmission docker container (modified per spaceinvader video - 97%-certain it's correctly modified). The Webui is unable to reach Transmission backend (server not found).  Per the Docker documentation I added an environmental-variable 'PORTS'='9091,54321' -- this change allowed me to access the Transmission-webgui.

 

Anyone have ideas on how to resolve or further troubleshoot?  

EDITED:

I think figured out  my issue; NordVPN everything was working normally, but Transmission only had the tunnel and not an IP address, so when I tried to access it from web-browser the errors were from cached info from previous changes in settings. I couldn't figure out how to resolve the issue, so I changed programs, moved to binhex-delugevpn. 

 

Have a good one everyone.

Edited by Jcloud
TLDR: I think I answered my question; used different apps to achieve same functions.
  • Thanks 1
Link to comment

I'm having some similar issues to others, in that the container hangs when trying to connect. I'm seeing a few errors in the logs that don't really make sense. The one that stands out is:

 

If nothing happens, please visit https://join.nordvpn.com/order/?utm_medium=app&utm_source=linux
Your account has expired. Renew your subscription now to continue enjoying the ultimate privacy and security with NordVPN

 

Which isn't true. There's a year left on my subscription (just logged on to the site to confirm) and I've got another container using the same credentials to connect without issue. Credentials are copy & pasted, so 100% correct.

 

Then:

 

2021/06/07 16:05:35 Get "https://os4work.com/v1/users/services": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

 

Which looks like a timeout issue. I've verified I can reach that domain ok from my network (but not from within the container, presumably because the IPTables rules have been set at that point?).

 

Anyone got any ideas? I've got Nord working in another container (Transmission-VPN) fine with the same account right now, so it seems to be something odd going on with this one.

Link to comment
On 6/3/2021 at 4:36 PM, Jcloud said:

 

 

 

Question of my own, what's the syntax format for the "Location" variable?  I tried to use: "us8297.nordvpn.com" which resulted in, "[Warning] could not determine server tag" and "[Error] picking servers: no servers found" in the log window.  If I leave the "Location" variable empty (let the docker/app auto-detect the server) the log stops at "Connecting..."

 

 

 

Hopefully this helps you, appears to resolve to the correct server for me when using the container.

 

container.png

Link to comment
On 6/7/2021 at 10:43 AM, TangoEchoAlpha said:

Hopefully this helps you, appears to resolve to the correct server for me when using the container.

 

Hey, thanks for reading and trying to help me out, I appreciate the example.  I've since resolved my issue by changing the Docker containers I use, streamlined things for my given task-set. 

 

On 6/3/2021 at 8:45 PM, shiftylilbastrd said:

JcloudSo far that seems to have done the trick. It had been working well enough using openvpn I just forgot about it. Thanks for pointing that out.

 

I wasn't sure how helpful it would be, but thought maybe it held some insight for you - described symptoms seemed the same/similar to me. But that's all I presently got. GL 

 

Have a good one everyone.

Link to comment
  • 2 weeks later...
On 6/3/2021 at 3:39 AM, shiftylilbastrd said:

Was only ever able to get it working in openvpn mode,

 

The nordlynx protocol was working fine until last week then the container stopped working, just now when i come across your comment I figure the issue and now it's working with openVPN, so thanks ❤️:)

 

 

On 6/3/2021 at 6:36 PM, Jcloud said:

Question of my own, what's the syntax format for the "Location" variable? 

Just write the country name for an example: "Netherlands" and that's it.

and if you're only using Transmission then you should use haugene/transmission-openvpn it works flawlessly .. excpt that you need to delete one variable (OPENVPN_CONFIG

) after docker update.

 

 

 

 

Link to comment

This is from the details on Bubuntux GitHub page

 

 Provide a [country_code] argument to connect to a specific country. For example: us 

 

Provide a [city] argument to connect to a specific city. For example: 'Hungary Budapest' , Use docker run --rm ghcr.io/bubuntux/nordvpn cities [country] to get the list of cities.

Link to comment

Hi guys,

I'm a bit lost on this one.

I've got the docker setup and its report and IP address so all good there.

 

I've been trying to get my Firefox container to work through it but I can never access it at the ip/port number.

 

image.png.4d331b42d77f0bcc6206640d27b49457.png

image.png.98528199cf2211497a649d8aea054c6d.png

 

Have I missed something somewhere?  It seemed pretty straight forward.

 

I've also checked "required Yes" to no help.

Edited by daveo132
Link to comment
10 hours ago, daveo132 said:

Hi guys,

I'm a bit lost on this one.

I've got the docker setup and its report and IP address so all good there.

 

I've been trying to get my Firefox container to work through it but I can never access it at the ip/port number.

 

image.png.4d331b42d77f0bcc6206640d27b49457.png

image.png.98528199cf2211497a649d8aea054c6d.png

 

Have I missed something somewhere?  It seemed pretty straight forward.

 

I've also checked "required Yes" to no help.

You need to take the ports out of the firefox container and add them to your nordvpn container

 

Link to comment

I am also running into error:

 

Any way to fix it?

 

Tried both NordLynx and OpenVPN.

 

Quote

[2021-06-24T12:34:35+02:00] Firewall is up, everything has to go through the vpn
[2021-06-24T12:34:35+02:00] Enabling connection to secure interfaces
[2021-06-24T12:34:35+02:00] Enabling connection to nordvpn group
[2021-06-24T12:34:35+02:00] Enabling connection to docker network
[2021-06-24T12:34:35+02:00] Enabling connection to network 10.10.10.0/24
[2021-06-24T12:34:35+02:00] Restarting the service
[2021-06-24T12:34:35+02:00] Waiting for the service to start
[2021-06-24T12:34:36+02:00] Logging in
[2021-06-24T12:34:37+02:00] Setting up NordVPN Version 3.10.0
CyberSec is already set to 'disabled'.
DNS is set to '1.0.0.1, 1.1.1.1' successfully.
Technology is already set to 'OpenVPN'.
Subnet 172.17.0.0/16 is whitelisted successfully.
Subnet 10.10.10.0/24 is whitelisted successfully.
[2021-06-24T12:34:38+02:00] Connecting...
If nothing happens, please visit https://join.nordvpn.com/order/?utm_medium=app&utm_source=linux

 

 

2021-06-24 12_37_14-Tower_UpdateContainer - Brave.png

Edited by aurevo
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.