Skip to content

Provide mechanism for users to exclude interfaces from disco + endpoint advertisements #1552

@bradfitz

Description

@bradfitz

User wishes to exclude an interface from being used for disco + endpoint advertisement:

https://forum.tailscale.com/t/limit-the-network-interfaces-that-are-sent-as-endpoints-for-a-device/88/4

Perhaps we could add TS_AVOID_PREFIX=10.5.4.0/24, which people could add to their /etc/default/tailscale. And then we could check that IPSet for discoverEndpoints and sending disco messages.

An IPSet is probably easier than an interface name. But I suppose we could also accept an interface name and map it to a prefix on start-up (or on a timer or major link change?).

@danderson, thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions