(Not) Running on the Synology NAS #202
-
@bubuntux As suggested, I'm starting a discussion for running this image on a Synology NAS. Trying to run this image under the Docker ecosystem provided by Synology as a "package". Other images run, and this NordVPN one does too, but is unable to connect successfully. The image can be setup through the Wizard, but I've opted to use the command line for a little more control and reproducibility to contrast between the Synology platform (Device Under Test - "DUT" hereonin) and the test host I tried (Xubuntu 20.04 - works great - Control Device - "CD" hereonin). On both the CD and the DUT, I spun the image using this command (account credentials redacted, and note there is a Synology OS ( There is no The docker setup on the DUT is: Synology provices logs for it's Docker images as CSV file reversed chronologically (whatever) and this is what it reports: |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 25 replies
-
I also have this same problem, and haven't found a solution yet. It was working on the older version, but not any more. Would be grateful if anyone has a workaround here |
Beta Was this translation helpful? Give feedback.
-
I have the same problem as you @Subject2Risk As you mentioned Neither I didn't add logs since they seem to be identical to yours. The NordVPN-section of my docker-compose file below, with some stuff commented out that I have tried in testing:
Docker environment version:
Can't come up with what else to test at the moment. |
Beta Was this translation helpful? Give feedback.
-
Version 3.9.1 still works. Ensure the latest images are deleted and use the following in the yaml or composer, preferably created a template in Portainer.
Here is a copy of my composer playbook for portainer:
In Portainer it is very important to ensure that other newer images are removed first. |
Beta Was this translation helpful? Give feedback.
-
I ended up doing what @bbtufty just posted and added I think v3.9.1 is now up and running. Will test the latest version. |
Beta Was this translation helpful? Give feedback.
-
@ProjectVRD I have tried with
So I don't think this is related to the network. It works in both specifying the bridge network and in letting docker create its own bridge network, for releases @bubuntux Same issues with not being able to connect is there with versions after As to what seems to be needed in the compose-file, I have come to these conclusions in my environemnt(At least for
Looking into the logs I can see that I do get authenticated towards NordVPN. I see that the @bubuntux What is this trying to do? I'm average in iptables I would say. Would be interesting to know what this means. Haven't come across the
It seems to fall back to open the necessary ports due to the group match failed.
Before removal of
Also, removed Seems that the NAS automatically created
As can be seen, the tun module is loaded.
Edit: Not below that
|
Beta Was this translation helpful? Give feedback.
-
We can't say that the discussion is "answered" as using the version 3.9.1 is just a workaround ... |
Beta Was this translation helpful? Give feedback.
-
Hey all, So I finally managed to get this thing working! Note: this now works on the latest Version 3.10.0! First thing is the tun module needs to be enabled for this to work. So head over to https://memoryleak.dev/post/fix-tun-tap-not-available-on-a-synology-nas/ to get this enabled and to stick on reboots. Once you have checked tun is installed and rebooted, it's time to add your compose I have used portainer in a stack due to the fact we require NET_ADMIN ENV. Now use this compose only changing "changeme" variables. and you should be good. version: "3.5" vpn:
Cheers! |
Beta Was this translation helpful? Give feedback.
-
One thing that I find weird... On my synology with DSM 7, it works if I do:
However, using docker-compose, I have to disable the firewall, see #202 (reply in thread) Any idea what might be going on? |
Beta Was this translation helpful? Give feedback.
Version 3.9.1 still works.
Ensure the latest images are deleted and use the following in the yaml or composer, preferably created a template in Portainer.
Here is a copy of my composer playbook for portainer: