I have absolutely no Idea what I am doing. #180
Replies: 9 comments
-
I wrote this step by step guide a few months back, which shows how to do exactly what you have in mind only with a jdownloader docker container as the "consumer" of the connection. My guess:
Good luck and feel free to ask for more detailed help if you have any problems! |
Beta Was this translation helpful? Give feedback.
-
So I am trying to follow your guide. The container seems to be created okay, but I get this at the very end of it: docker: Error response from daemon: linux runtime spec devices: error gathering device information while adding custom device "/dev/net/tun": no such file or directory. How do I fix this? |
Beta Was this translation helpful? Give feedback.
-
Okay, I used instructions from user EVOTk here to get the /dev/net/tun created. |
Beta Was this translation helpful? Give feedback.
-
I figured it out. I was using my email address as my nord login. But really what i needed to be using was the login username that nord gives you to set up stuff like openvpn. When it's all said and done, how can i verify that traffic is indeed being routed through nord? |
Beta Was this translation helpful? Give feedback.
-
On 2nd thought, I don't think that works. So I switched my username back to my email. But in the log i get |
Beta Was this translation helpful? Give feedback.
-
I finally read in this post that you need to use an older version 3.7.4 Now I just need to figure out how to route other containers' traffic through this container. For the record, I can see in the log for the Nord container that it is connected okay and it got assigned a new IP from Nord. |
Beta Was this translation helpful? Give feedback.
-
@AndroidGuy2 I think (haven't tested it) setting the network only works when creating the container and not afterwards if the container already exists. Otherwise, I can confirm that version 3.7.4 is currently the latest working fine. |
Beta Was this translation helpful? Give feedback.
-
Just as a follow-up, didn't you see my mention of this in the troubleshooting section or did what I have there not work (in that case I should update it). Thanks! |
Beta Was this translation helpful? Give feedback.
-
What you want is to use the NordVPN container's networking as the network for the other containers. The best way to do this, to ensure the failsafe works and the container doesn't fall back to another, non-vpn network, is not done via environment variables but via actual docker capabilities. I use docker-compose for all my needs, so I don't know the exact name of the equivalent docker flags you need are for manual container creation but what you need is to set the reliant containers vpn:
image: bubuntux/nordvpn:3.7.4
container_name: "nord-vpn"
<<other config>>
service-using-vpn:
image: someimage/iwanttovpn
depends_on:
- vpn
network_mode: "service:vpn"
<<other config>>
` |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am running this on a SynologyNAS DS918+. My goal is to have Sonarr, Radarr, and SabNZBD routed through this bubuntux/nordvpn container. But I have no idea how to get this set up. Although I am familiar with putty, I have never set up a docker container using it. So far on my 918+, I have successfully set up two containers.
One of them is oznu-homebridge, which I set up using this video: https://www.youtube.com/watch?v=HF6XXTwJP0Y
and the other is openspeedtest, which I set up using this video: https://www.youtube.com/watch?v=8QkE0Avcehg
Neither scenario involved using ssh.
So with that said, is there a guide somewhere for me to set it all up within my synology, and get my other three containers' traffic routed through it? (and to clarify, I only want those containers routed through it, but as for the 918's traffic itself, I want to just flow uninhibited without going through VPN).
Beta Was this translation helpful? Give feedback.
All reactions