1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| echo 'net.ipv4.ip_forward = 1' | tee /etc/sysctl.d/ipforwarding.conf echo 'net.ipv6.conf.all.forwarding = 1' | tee -a /etc/sysctl.d/ipforwarding.conf sysctl -p /etc/sysctl.d/ipforwarding.conf
tailscale up --login-server=http://<HEADSCALE_PUB_ENDPOINT>:8080 --accept-routes=true --accept-dns=false --advertise-routes=192.168.100.0/24 --reset
headscale nodes list|grep openwrt headscale routes list -i 6
headscale routes enable -i 6 -r "192.168.100.0/24"
headscale routes enable -i 6 -r "192.168.100.0/24,xxxx"
headscale routes enable -i 6 -a
ip route show table 52|grep "192.168.100.0/24"
|