Luoboyun1 GB of trial traffic for new accounts, valid 24 hours, for Clash / Mihomo clientsAlipay, WeChat or cryptoSign upAdAdLuoboyun, 1 GB to tryFor new accounts, 24 hours, Alipay / WeChat / cryptoSign up
dl-tailscale.is
English
简体中文繁體中文EnglishРусскийفارسی

Subnet routers

Leave one device at home as a subnet router and open the printer, camera or router page from outside. Commands, approval, address clashes.

When you need one

Printers, cameras, smart home boxes and router pages cannot run Tailscale. Let a device that can forward for them, and the whole subnet is reachable.

One device forwards for a whole subnet

On the device at home

Turn on forwarding as in the exit node guide, then announce the subnet:

Put in your own subnet
sudo tailscale set --advertise-routes=192.168.1.0/24

To find it: if a computer at home has 192.168.1.23, the subnet is 192.168.1.0/24. The address check helps.

Approve and use

  1. ApproveMachines, Edit route settings
  2. AcceptWindows and phones do by default
  3. Linuxadd --accept-routes
  4. Open 192.168.1.1by its usual address
Two steps remain

When subnets collide

Home is 192.168.1.0/24 and so is the hotel Wi-Fi: 192.168.1.10 now means something in the hotel. Change the subnet at home to an unusual one, such as 192.168.87.0/24.

On the same machine as an exit node?

Yes, announce both.

Can a Synology do it?

It can share a subnet; TCP and UDP work, ping may not.

Read next Names and files

Neighbouring topics

Keywords on this page: Tailscale subnet router, advertise routes, reach LAN with Tailscale