Skip to content

Instantly share code, notes, and snippets.

@ollytheninja
Last active September 12, 2022 05:55
Show Gist options
  • Save ollytheninja/e221f007ea2998366de12bbe75f5a946 to your computer and use it in GitHub Desktop.
Save ollytheninja/e221f007ea2998366de12bbe75f5a946 to your computer and use it in GitHub Desktop.
Enable outbound Tailscale connections from synology NAS
# FROM https://tailscale.com/kb/1131/synology/#enabling-synology-outbound-connections
# Add CAP_NET_ADMIN to the binary; required if manually installing the
# Tailscale *.spk file.
# This step is required every time you upgrade Tailscale.
sudo setcap cap_net_admin+eip /var/packages/Tailscale/target/bin/tailscaled
# These three commands are only needed once and persist over restarts.
sudo mkdir -p /dev/net
sudo mknod /dev/net/tun c 10 200
sudo chmod 0666 /dev/net/tun
sudo synosystemctl restart pkgctl-Tailscale.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment