zerotier / ZeroTierOne

A Smart Ethernet Switch for Earth
https://zerotier.com
Other
14.59k stars 1.71k forks source link

Synology 918+ doesn't allow root privilege services to be installed, need to explore other options #1612

Closed tianwufeng closed 2 years ago

tianwufeng commented 3 years ago

Before filing a Bug Report

Using these will ensure you get quicker support, and make this space available for code-related issues. Thank you!

If you still want to file a Bug Report

Required

Additional information

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

adamierymenko commented 3 years ago

We are looking into this. We may be able to support as a Docker application.

WhoCantBeNamed commented 3 years ago

Hi, have the same problem on DS220+ as well running on DSM7 beta. Waiting eagerly for a fix.

dhruvbaldawa commented 3 years ago

I was able to get it to work on my DS920+ using docker. I used this image - https://hub.docker.com/r/henrist/zerotier-one

I would have to SSH into it and get root privileges to run the docker command

$ sudo su
# docker run \
  -d \
  --restart unless-stopped \
  --name zerotier-one \
  --device /dev/net/tun \
  --net host \
  --cap-add NET_ADMIN \
  --cap-add SYS_ADMIN \
  -v <DIRECTORY_FOR_STORING_CONFIG>:/var/lib/zerotier-one \
  henrist/zerotier-one

Works like a charm! You don't get the UI and have to interact via the CLI that's the only downside.

WhoCantBeNamed commented 3 years ago

Thanks, will look into this.

joseph-henry commented 2 years ago

This is an old issue but before I close it I want to link the discussion to our official docker instructions for DSM 7. We may eventually have a native package again but this is what we currently recommend for everyone that has moved onto DSM 7.