After setting up and configuring tailscale (including doing the optimizations on the website) to make it work run:

sudo tailscale up --advertise-exit-node --advertise-routes=192.168.1.0/24 --accept-dns=false