[GH-ISSUE #5000] Add option to disable alternative connections when netbird is not connected #10276

Open
opened 2026-08-05 01:25:16 -04:00 by saavagebueno · 1 comment
Owner

Originally created by @Flow-It on GitHub (Dec 28, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5000

The goal is to force a client to only connect to the internet via netbird and a configured exit node.
It would be nice to have a similar option to the killswitch many commercial VPN clients are offering. This should primarily be used to block access to the internet. LAN connections, if enabled in the configuration, should remain unaffected.

I haven't figured out a way to reliably configure firewall rules and routing tables. That is for a variety of reasons.

  • netbird runs on different system. Reproducing the rules on different systems (Windows, Linux, iptables, nftables, firewalld, etc.) is cumbersom.
  • netbird itself has certain requirements, which connections and services are required
  • netbird runs on systems, where the user might not even have the neccessary access to set up a "manual killswitch"

These are all arguments why such a functionality should be baked into the client.

If that is not possible, I'd recomment extending the documentation to give users some helpful advice how to configure a killswitch themselves.

Originally created by @Flow-It on GitHub (Dec 28, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5000 The goal is to force a client to only connect to the internet via netbird and a configured exit node. It would be nice to have a similar option to the killswitch many commercial VPN clients are offering. This should primarily be used to block access to the internet. LAN connections, if enabled in the configuration, should remain unaffected. I haven't figured out a way to reliably configure firewall rules and routing tables. That is for a variety of reasons. - netbird runs on different system. Reproducing the rules on different systems (Windows, Linux, iptables, nftables, firewalld, etc.) is cumbersom. - netbird itself has certain requirements, which connections and services are required - netbird runs on systems, where the user might not even have the neccessary access to set up a "manual killswitch" These are all arguments why such a functionality should be baked into the client. If that is not possible, I'd recomment extending the documentation to give users some helpful advice how to configure a killswitch themselves.
saavagebueno added the feature-request label 2026-08-05 01:25:16 -04:00
Author
Owner

@coderabbitai[bot] commented on GitHub (Dec 28, 2025):

📝 CodeRabbit Plan Mode

Generate an implementation plan and prompts that you can use with your favorite coding agent.

  • Create Plan
Examples

🔗 Similar Issues

Related Issues

👤 Suggested Assignees

🧪 Issue enrichment is currently in open beta.

You can configure auto-planning by selecting labels in the issue_enrichment configuration.

To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

issue_enrichment:
  auto_enrich:
    enabled: false

💬 Have feedback or questions? Drop into our discord!

<!-- gh-comment-id:3694880250 --> @coderabbitai[bot] commented on GitHub (Dec 28, 2025): <!-- This is an auto-generated issue plan by CodeRabbit --> ### 📝 CodeRabbit Plan Mode Generate an implementation plan and prompts that you can use with your favorite coding agent. - [ ] <!-- {"checkboxId": "8d4f2b9c-3e1a-4f7c-a9b2-d5e8f1c4a7b9"} --> Create Plan <details> <summary>Examples</summary> - [Example 1](https://github.com/coderabbitai/git-worktree-runner/issues/29#issuecomment-3589134556) - [Example 2](https://github.com/coderabbitai/git-worktree-runner/issues/12#issuecomment-3606665167) </details> --- <details> <summary><b>🔗 Similar Issues</b></summary> **Related Issues** - https://github.com/netbirdio/netbird/issues/3838 - https://github.com/netbirdio/netbird/issues/4823 - https://github.com/netbirdio/netbird/issues/3809 - https://github.com/netbirdio/netbird/issues/4856 - https://github.com/netbirdio/netbird/issues/4879 </details> <details> <summary><b>👤 Suggested Assignees</b></summary> - [Cikaros](https://github.com/Cikaros) - [adrianlnhn](https://github.com/adrianlnhn) - [R0CKB0TT0M](https://github.com/R0CKB0TT0M) - [sahps](https://github.com/sahps) - [YourSandwich](https://github.com/YourSandwich) </details> --- <details> <summary> 🧪 Issue enrichment is currently in open beta.</summary> You can configure auto-planning by selecting labels in the issue_enrichment configuration. To disable automatic issue enrichment, add the following to your `.coderabbit.yaml`: ```yaml issue_enrichment: auto_enrich: enabled: false ``` </details> 💬 Have feedback or questions? Drop into our [discord](https://discord.gg/coderabbit)!
Sign in to join this conversation.
No Label feature-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#10276