Skip to content

Support specifying which local interfaces to bind to, and support binding to multiple interfaces #1066

Closed

Description

@haku

Is your feature request related to a problem? Please describe.

I have two ISP connections, each with their own NAT router, and a server with multiple NICs so it can connect to both of them. I would like tailscaled to bind to both LAN IP addresses so that it can connect in/out via both ISPs at the same time.

Describe the solution you'd like

Add a --interface flag to /usr/sbin/tailscaled that specifies the interface(s) to bind to as a list of IP addresses.

Describe alternatives you've considered

Currently it is routing via the default route on the server which is my load balancer (instead of each ISP router directly) which adds an extra NAT layer and makes it much less efficient at NAT traversal.

If supporting multiple interfaces is not viable then would it be possible to run multiple copies of tailscaled, one bound to each interface?

Additional context

none.

Activity

  1. bradfitz commented on Dec 25, 2020

    @bradfitz
    Member

    A number of the Tailscale team have 2+ ISPs, including me, so this'll definitely happen. 🎅 It's on my personal wish list and I've mused about doing it a few times already but keep responsibly prioritizing more important things instead. One of these days it'll happen, though.

  2. added
    connectivity
    on Dec 25, 2020
  3. lfarkas commented on Feb 17, 2021

    @lfarkas
  4. gcsontos commented on Feb 18, 2021

    @gcsontos

    I have the same problem with openvpn and dns resolution. Specifying local interfaces for tailscale would be a solution.

  5. deleted a comment from lfarkas on Mar 19, 2021
  6. DentonGentry commented on Oct 13, 2021

    @DentonGentry
    Contributor

    I think we've split this into two issues for two specific uses:

    I'm going to close this issue in favor of the other two, as we are likely to end up implementing different solutions for each.

  7. elkoni commented on Mar 20, 2024

    @elkoni

    Check this.

  8. starskyzheng commented on Oct 27, 2025

    @starskyzheng

    #14575
    This works. However it has not been merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    L1 Very fewP2 AggravatingT3 Performance/Debuggingconnectivity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions