Portmaster is an application firewall that does the heavy lifting for you. Restore privacy and take back control over all your computer’s network activity.
Portmaster integrates into network stack using nfqueue on Linux.
This is free and open source software.
Key Features
- Monitor all network activity – discover everything that is happening on your computer. Expose every connection your applications make and detect evil ones. Finally get the power to act accordingly.
- Full control: block anything.
- Automatically block trackers and malware.
- Set global and per‑app settings – make your own rules. Completely cut off applications from the Internet. Or block all p2p connections except for certain apps. Or never connect to specific countries. Portmaster has you covered.
- Secure DNS (Doh/DoT):
- Define allowed network scopes: Localhost, LAN, Internet, P2P, Inbound.
- Easy rules based on internet entities: Domain, IP, country and more.
- Filter lists block common malware, ad, tracker domains etc.
- Cross-platform support – runs under Linux and Windows.
Website: github.com/safing/portmaster
Support:
Developer: Safing ICS Technologies GmbH
License: GNU General Public License v3.0

Portmaster is written in Go, C and TypeScript. Learn Go with our recommended free books and free tutorials. Learn C with our recommended free books and free tutorials. Learn TypeScript with our recommended free books and free tutorials.
Related Software
| Firewalls | |
|---|---|
| OpenSnitch | Interactive application firewall |
| nftables | Provides a new in-kernel packet classification framework |
| Firewalld | Dynamically managed firewall with support for network/firewall zones |
| ufw | Uncomplicated Firewall. This is software for managing a netfilter firewall |
| Portmaster | Application firewall that does the heavy lifting |
| iptables | Configure the Linux 2.4.x and later packet filtering ruleset |
| Shorewall | High-level tool for configuring Netfilter |
| gufw | Easy, intuitive, way to manage your Linux firewall |
| XDP-Firewall | Stateless firewall tool |
| Vuurmuur | Uncomplicated Firewall, manage a netfilter firewall |
| awall | Firewall configuration tool, providing various benefits over plain iptables |
| Foomuuri | Multizone bidirectional nftables firewall |
| bgpipe | BGP reverse proxy and firewall |
| FirewallFabrik | Graphical firewall policy management tool |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.
Hi. You need to amend the link to the Portmaster repository as it actually directs back to LinuxLinks.
Thank you.
Thanks Gio, the link had an erroneous space which I have removed.