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.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


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.