hi this is simpler and better and works
use docker first install QVPN for the tun driver
docker run -d --name zerotier-one --device=/dev/net/tun --net=host --cap-add=NET_ADMIN --cap-add=SYS_ADMIN -v $HOME/docker/zerotier-one:/var/lib/zerotier-one --restart=always zyclonite/zerotier
docker exec zerotier-one zerotier-cli join 8056c2e21c000001
or create an empty file with the network as name
/var/lib/zerotier-one/networks.d/8056c2e21c000001.conf
Hello, this works perfekt for me. But when i restart my qnap it wont connect correctly to zerotier. In ZeroTier Central the qnap will be signed as online but i cannot ping to the device.
When i leave and join again, i got an error on join like: 500 join {}
What can i do?!
Sorry i can’t look at it now i never had this problem with restart
also i cant look for it because i scaled down, because of the energy cost here in Europe
maybe it’s the last Qnap update from last month , if you see that you are online local and remote
it’s perhaps firewall rules or upnp
anyway its the same docker container as the use on synology
i hope this will help you
Hello, thanks for the replay.
The log from the docker says:
Error: unable to configure virtual network port: could not open TUN/TAP device: No such file or directory
do you know whats that mean?
Hi that has with the QVPN pakage this installs the tun/tap driver
i think it has something todo with the update to 5.0.1 here is also some one who has the same problem
Zerotier on QTS 5.0.1 not working - QNAP NAS Community Forum
i suggest you try deinstall qvpn then try to install QVPN Service 3.0.771 if you can find it, then test
Thanks for the replay. I cant install an older Version of qvpn. There is no way…
But i found maybe an other solution. But i dont unterstand how i to this on my docker…?!
I wrote this as for publishing on their Knowledgebase - but folks might look here first! sorry if some of the Terminology is wrong. I’m not generally a network person. Actually I’m not anything - I bumble along…
ZeroTier VPN installation on (A2 hosting) OpenVZ Hosting account
a) Firstly your node needs TUN/TAP enabling by an admin of the OpenVZ container, raise a support ticket with your hosting provider OR it seems some allow you to do this yourself in your control panel
b) Follow the ZeroTi…
also this one…(i think its the same solution)
I was able to resolve the issue:
the command:
sudo systemctl status zerotier-one.service
also printed some error output. In my case it said:
ERROR: unable to configure virtual network port: could not open TUN/TAP device: No such file or directory
That pointed me in the right direction for my search with the solution being posted here:
The service needs to start “/usr/sbin/zerotier-one” with the “-U” parameter which was not the case for me. Now it works again.
and you can look here for -U option
opened 12:39AM - 30 Oct 21 UTC
closed 03:12PM - 12 Nov 21 UTC
enhancement
Hi, since you are already giving the container the necessary caps you should be … able to add `CMD ["-U"]` to the end of the Dockerfile to skip checking for and dropping privileges. I've done essentially the same with a systemd unit -- specifying a user/group and adding caps.
Hi you can enter the container like this
docker exec -it zt bash
zt stands for the container name
Hi… you mean like this?
docker exec -it zerotier-one zerotier-cli join 8056c2e21c000001 bash
?
sorry… i am not so familiar with linux.
what you can do is install portainer and the edit
Hi you can access the container like this
docker exec -it zerotier-one sh
Hey… finally this was also my solution:
Hi Joseph -
if you email me directly, I will give you the contacts at QNAP that you need to reach. I can’t post them here -
EDIT: Email removed by admin
Thank You!!
Thanks for the solution. I tried but could not get stable connection.
After tried several times, I find just changing the docker image works. bltavares/zerotier image works fine on my TS-451D