I am trying to get tailscale exit node functionality working from within a FreeBSD jail. Currently it doesn't work because tailscale attempts to add a second default route. This works on Mac, using (what I think is) a mechanism called route interface scopes.
Anyway, the tailscale device is a tun(4) device called
Essentially I want a default route like
Is that possible?
Anyway, the tailscale device is a tun(4) device called
tailscale0
and doesn't have a direct link to my gateway 192.168.2.1/24
. The gateway link is via an interface called elink
which is one end of an epair with IP 192.168.2.2/24
.Essentially I want a default route like
0.0.0.0/0 -> tailscale0 -> 192.168.2.1
. All traffic should go to tailscale0
, and if it doesn't have an explicit route for the destination, then it should forward to 192.168.2.1
.Is that possible?