this post was submitted on 01 Jun 2024
10 points (81.2% liked)

Selfhosted

39980 readers
587 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
10
Tailscale and two NICs (lemmy.sdf.org)
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
 

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?

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 5 months ago

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.

[–] [email protected] 2 points 5 months ago

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.

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago)

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