Tailscale Details

IP Forwarding

echo 'net.ipv4.ip_forward = 1' | sudo tee -a /etc/sysctl.conf
echo 'net.ipv6.conf.all.forwarding = 1' | sudo tee -a /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf

Exit Node

to advertise as an exit node

sudo tailscale up --advertise-exit-node

to map a subnet

sudo tailscale up --advertise-routes=192.168.0.0/24

to map specific ip addresses

sudo tailscale up --advertise-routes=192.168.0.100/24,192.168.0.101/24 --advertise-exit-node

Turn on HTTPS

enable magicdns enable Https sudo tailscale cert –cert-file=tailscale-cert.pem –key-file=tailscale-key.pem ..ts.net sudo chown : tailscale-*.pem

External Resources