Tailscale and two NICs
from witx@lemmy.sdf.org to selfhosted@lemmy.world on 01 Jun 2024 11:18
https://lemmy.sdf.org/post/17604404

Hi all,

Anyone with a similar setup to this:

I have a machine with 2 NICs one for default gateway and other a “private” subnet with a service I need to access remotely for a few days (basically its a wifi router where a wifi-only device connects).

Will tailscale work for this case plug’n’play or will I need setup any routing?

#selfhosted

threaded - newest

HybridSarcasm@lemmy.world on 01 Jun 2024 11:33 next collapse

Tailscale is an overlay network. It will use whatever networking is available. If only one of those NICs is a gateway, then that’s what will be used to reach remote Tailnet resources.

just_another_person@lemmy.world on 01 Jun 2024 13:13 next collapse

It’s Wireguard, so you’d just change the Wireguard profile to use a specific interface. The routing between the two networks is handled at the routing table, and all will be available to route to.

witx@lemmy.sdf.org on 10 Jun 21:14 collapse

Thanks for your answers. I wasn’t able to get what I wanted to work but that’s because the device used broadcast for discoverability which doesn’t work through subnets. I pivoted to something else