Clash with Tailscale
Run Tiltas and Tailscale on the same machine without them getting in each other's way.
Tiltas and Tailscale both give Devices addresses from 100.64.0.0/10, and both answer names at 100.100.100.100.
Tiltas uses 100.64.0.0/11 for Devices and 100.96.0.0/12 for Services, both inside that range. When both run on the
same machine and both send that range into their own network interface, routes and names collide: some addresses go to
the wrong network, and names stop resolving.
Phones, laptops and desktops
Run one at a time. Turn Tailscale off in its app while Tiltas is connected, and the other way round. iPhone and Android allow only one VPN to be active anyway, so switching one on switches the other off.
Linux servers
Keep Tailscale as it is, and run Tiltas in userspace networking, which needs no network interface and adds no
routes. Add the flag to the engine's settings, /etc/default/tiltasd:
FLAGS="--tun=userspace-networking"Then restart it:
sudo systemctl restart tiltasdIn userspace networking:
- Other Devices still reach this server, on the ports your rules allow: connections arrive at the same port on the server.
- It can still share your LAN as a subnet router.
- Programs on the server reach other Devices only through a SOCKS5 proxy. Add
--socks5-server=localhost:1055toFLAGSand point the program atlocalhost:1055.
Docker and NAS
Run the Tiltas container in userspace networking:
- with
docker run, Compose, Synology or TrueNAS, setTILTAS_USERSPACE=true(or delete thecap_addanddeviceslines, and the container picks userspace networking by itself); - on Unraid, set Userspace networking to
trueunder the template's advanced settings.
What each mode gives is in Docker.
Moving from Tailscale
If you are replacing Tailscale with Tiltas, uninstall Tailscale first, or turn it off for good. Nothing else needs to change: Tiltas uses its own keys, addresses and names.