ZeroTier and Exit Node on ZimaCube

I’ve been using Tailscale for several years but to remain consistent with my ZimaCube I have adapted to ZeroTier.

Setting my ZimaCube to be the exit node for VPN traffic doesn’t seem to be as built in as Tailscale. Plus it’s in docker.

Has anyone had luck doing this, or can anyone offer a walkthrough on how to set it up?

Thanks in advance

Tailscaled can be installed in the App Store. Would you try this?

By the way, why do you need to make ZimaOS as the exit node?

My ZimaCube runs 24/7 so it makes sense to have an exit node in this state. My son will be overseas for most of the next year and having this as a VPN option is my hope and one that isn’t timezone dependant.

I have played with Tailscale on ZimaOS, but had difficulty in getting it to run as an exit node. Are there any instructions available to properly set this up in this exact environment (ZimaOS)?

Our Discord channel is the place where we suggest you talk about/search for it.

Thanks. I made the inquiry under zimaos-apps a few days ago. No bites so far. Is that the best place for such a conversation?

I believe I have it working.

docker exec -it big-bear-tailscale tailscale up --advertise-exit-node --accept-dns=false

IP Forwarding on Host
sudo sysctl -w net.ipv4.ip_forward=1
echo “net.ipv4.ip_forward = 1” | sudo tee -a /etc/sysctl.conf

NAT Routing
sudo iptables -t nat -A POSTROUTING -o tailscale0 -j MASQUERADE

Log into the Admin Consol and approve the ZimaCube as Exit Node under “Edit Route Settings”

1 Like

I also succeeded by simply opening the Bash panel of the Tailscale container and pasting:

tailscale up --advertise-exit-node --reset

This command was suggested in the Tailscale admin panel, and I added --reset as recommended by the bash itself.

I am studying Docker and Linux systems, as well as networking recently, so I’m not able to understand the meaning of IP forwarding and NAT routing commands. I wanted to share a very simple solution for newcomers like myself