Option to stop exit node clients from reaching the exit node's local network

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

When a peer is an exit node (0.0.0.0/0), clients using it can also reach the routing peer’s private networks (LAN, Docker bridges, etc.), because the default route includes local ranges. ACLs can’t prevent this: they don’t distinguish “Internet” from “the LAN behind the exit node”. I confirmed it with a client outside the LAN: it could ping the exit node’s LAN gateway through NetBird.

Blocking it manually is tricky. On NetBird 0.80.0 (Debian 13, nftables), a drop rule in forward/input is never reached because NetBird adds accept rules for its interface ahead of it. The only working fix I found is dropping in prerouting at priority -310.

Describe the solution you’d like

A checkbox when creating or editing an exit node: “Block access to the routing peer’s local networks for this/these group/peer”. When enabled, forwarded traffic from NetBird clients to private ranges (RFC1918, link-local, IPv6 ULA) is dropped on the routing peer. The NetBird overlay must always stay reachable, and an optional allow-list (e.g. a LAN DNS server) would be useful.

Describe alternatives you’ve considered

  • ACLs: can’t separate Internet from the routing peer’s LAN.
  • Client-side “block LAN”: protects the client’s LAN, not the exit node’s.
  • Manual nftables rules: forward/input rules get bypassed. A prerouting rule works but is manual, per-host and undocumented.
  • VLAN/DMZ isolation: effective but not always possible at home.

Thank you