DEV Community

dom
dom

Posted on

Tailscale OpenWRT Subnet/Site to site config

ref: https://tailscale.com/kb/1019/subnets#connect-to-tailscale-as-a-subnet-router and https://tailscale.com/kb/1214/site-to-site

Home network: 192.168.8.0, router ip 192.168.8.1

tailscale up --advertise-routes=192.168.8.0/24 --accept-dns=false --accept-routes

to show device origin IP instead of subnet router host add --snat-subnet-routes=false:
tailscale up --advertise-routes=192.168.8.0/24 --accept-dns=false --accept-routes --snat-subnet-routes=false

approve on https://login.tailscale.com/admin/machines

Good to know:
Tailscale ports:
Make direct connections by allowing UDP port 41641 to ingress through the firewall
Direct connection between VMs, also add an outbound firewall rule allowing UDP port 3478.

Top comments (0)