-
Notifications
You must be signed in to change notification settings - Fork 808
Blog: Introducing Firewall #3400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Copilot
wants to merge
5
commits into
main
Choose a base branch
from
copilot/add-firewall-feature-blog-post
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+65
−0
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
104bea9
Initial plan
Copilot 2b2048b
Add blog post: Introducing Firewall
Copilot 64ec83f
Add Enabled and Description fields to firewall blog post Add/Edit rul…
Copilot c38c957
Merge branch 'main' into copilot/add-firewall-feature-blog-post
BornToBeRoot 1bdc9c7
Update "Try it now" section to point to pre-release download
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| --- | ||
| slug: introducing-firewall | ||
| title: Introducing Firewall | ||
| description: "NETworkManager introduces the new Firewall feature. View, add, edit, enable, disable, and delete Windows Firewall rules managed by NETworkManager — all from a user-friendly interface." | ||
| authors: [borntoberoot] | ||
| tags: [firewall, windows firewall, security, new feature] | ||
| keywords: [NETworkManager, Windows Firewall, Windows Defender Firewall, firewall rules, inbound, outbound, network security] | ||
| --- | ||
|
|
||
| NETworkManager introduces a new feature: the `Firewall`. You can now manage Windows Firewall rules created by NETworkManager directly from within the app — no more jumping between MMC snap-ins for day-to-day tasks. | ||
|
|
||
| This is especially useful if you frequently spin up local services (lab environments, dev boxes, game servers, small internal tools) and need a quick and repeatable way to open or block ports, restrict traffic to specific IP ranges, or scope rules to profiles like **Domain**, **Private**, or **Public**. | ||
|
|
||
|  | ||
|
|
||
| <!-- truncate --> | ||
|
|
||
| ## Manage rules safely (and without touching your system rules) | ||
|
|
||
| The Firewall view intentionally focuses on rules managed by NETworkManager only. | ||
|
|
||
| Every rule created via NETworkManager is stored with a `NETworkManager_` prefix in the Windows Firewall rule display name. This makes it easy to distinguish "your" rules from system-managed or third-party rules — and it allows NETworkManager to filter the list so you only see what it owns. | ||
|
|
||
| ## What you can do with the new Firewall feature | ||
|
|
||
| - View firewall rules created by NETworkManager | ||
| - Add new inbound or outbound rules | ||
| - Edit existing rules (the same dialog is used for both Add and Edit) | ||
| - Enable or disable rules quickly | ||
| - Delete rules you no longer need | ||
| - Copy or export rule information | ||
| - Refresh the list with `F5` | ||
| - Open the native Windows Firewall console (`WF.msc`) via the **Windows Firewall Settings** button | ||
|
|
||
| ## Add / Edit rules — with the options you actually need | ||
|
|
||
| When creating or editing a rule, NETworkManager exposes the most common and important fields in a clear dialog: | ||
|
|
||
|  | ||
|
|
||
| - **Name**: Display name of the rule (the `NETworkManager_` prefix is added automatically and hidden in the UI) | ||
| - **Enabled**: Whether the rule is active right after creation | ||
| - **Description**: Optional description of the rule | ||
| - **Direction**: Inbound / Outbound | ||
| - **Action**: Allow / Block | ||
| - **Protocol**: Any, TCP, UDP, ICMPv4, ICMPv6, GRE, L2TP | ||
| - **Local / Remote ports**: Available for TCP and UDP; multiple ports and ranges separated by `;` | ||
| - **Local / Remote addresses**: Supports single IPs, ranges, subnets (CIDR and subnet masks), and keywords such as `LocalSubnet` or `Internet` | ||
| - **Program**: Limit the rule to a specific executable (optional) | ||
| - **Interface type**: Any, Wired, Wireless, RemoteAccess | ||
| - **Network profiles**: Domain / Private / Public (at least one must be selected) | ||
|
|
||
| You can find all details (including examples for port and address formats) in the [official documentation](https://borntoberoot.net/NETworkManager/docs/application/firewall). | ||
|
|
||
| ## Administrator privileges | ||
|
|
||
| Like editing the hosts file, managing firewall rules requires elevated rights. | ||
|
|
||
| If NETworkManager is not running as administrator, the Firewall view is **read-only**. Use the **Restart as administrator** button to relaunch NETworkManager with the required privileges. | ||
|
|
||
| ## Try it now | ||
|
|
||
| You can test this feature in the [latest pre-release of NETworkManager](https://borntoberoot.net/NETworkManager/download#pre-release). | ||
|
|
||
| If you find any issues or have suggestions for improvement, please open an [issue on GitHub](https://github.com/BornToBeRoot/NETworkManager/issues). | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Add/Edit rule field list appears incomplete compared to the Firewall documentation: the dialog also has Enabled and Description fields. Either add those fields here (to match the “full set of fields” intent) or adjust the surrounding wording so it’s clear this is a subset of the dialog options.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot apply changes based on this feedback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added Enabled and Description fields to the list in commit 64ec83f. The field list now matches the complete set of options in the Add/Edit rule dialog.