Tuesday, April 14, 2026
Blog

How to Getting started with Portmaster

portmaster
portmaster
97views

What is portmaster

Every time you connect to the internet, dozens of applications on your computer are making network connections you almost certainly have no visibility into. Your browser is obvious, but what about your code editor phoning home with telemetry? Your PDF reader checking for updates? Background services reaching out to analytics servers? On a standard Windows or Linux desktop, without specialized tooling, all of this outbound traffic happens silently — there is no system-level view of which applications are connecting to what, and no easy mechanism to control it on a per-application basis.

Portmaster is a free, open-source application firewall developed by Safing, an Austrian company based in the EU, that solves exactly this problem. Unlike traditional network firewalls that think in terms of ports and IP ranges, Portmaster operates at the application level — it knows which process is making each network connection and can enforce different rules per application. It monitors all connections in real time, blocks trackers and malvertising domains system-wide (including inside apps, not just browsers), encrypts your DNS queries by default, and gives you granular control over exactly what each application on your computer can and cannot reach on the network.

This guide walks you through everything you need to know to get started with Portmaster: what it does and how it works under the hood, how to install it on Windows and Linux, how to navigate the interface, how to configure DNS, how to set application-specific rules, how to use filter lists for ad and tracker blocking, and how to troubleshoot the most common issues. Whether you are new to application firewalls or migrating from another solution, this guide covers the complete getting-started journey.

Installing Portmaster on Linux

Linux installation requires slightly more attention, particularly around kernel version compatibility and potential conflicts with existing DNS services.

Pre-Installation Checklist for Linux

Verify these before running the installer. Check kernel version — 5.7+ required

Check if another service is using port 53 (DNS)

If systemd-resolved is using port 53, you'll need to reconfigure it after Portmaster installation covered in the DNS section below.
Confirm NetworkManager is running (recommended).

Install on Debian / Ubuntu (deb package)

Download the latest .deb package from safing.io/download or from the GitHub Releases page at github.com/safing/portmaster/releases.
Install the package using dpkg or apt:

    Install with dpkg

    Or double-click the .deb file in your file manager to install via GUI. Reboot the system. The Core Service should start automatically on the next boot

    After reboot, verify the service is running:

    Launch the Portmaster UI from your application menu, or start it from the command line:

    Install on Fedora / RHEL / Rocky Linux (rpm package)

    Download the latest .rpm package from safing.io/download.

    Install the package:

    Reboot and verify the service status as shown for the Debian installation above.

      Enable Portmaster Service to Auto-Start

      If the Portmaster service does not start automatically after installation, enable it explicitly:

      Start it now without rebooting

      Verify it is running

      The status output should show: Active: active (running). If it shows failed or dead, check the journal:

        If you want that is intuitive and easy – Portmaster might be the one.

        Launch the application from your systems launcher panel

        Compared to OpenSnitch, setting up Portmaster is extremely easy, You are asked a couple of questions then you are all set.

        The default free version of the service it provides

        • Secure DNS
        • Privacy Filter

        The applications provides extensive information about your connections.

        How to Getting started with Portmaster
        How to Getting started with Portmaster
        How to Getting started with Portmaster
        How to Getting started with Portmaster

        Portmaster vs Traditional Firewalls

        FeatureTraditional FirewallPortmaster
        App-level controlLimited✅ Full control
        Real-time visibility
        Tracker blocking
        DNS protection
        User-friendly UI⚠️ Basic✅ Advanced

        Conclusion

        Portmaster occupies a unique position in the open-source security tool landscape: powerful enough to provide genuine application-level network control for security-conscious users, but designed with sensible defaults so that a complete beginner can install it, leave it running with default settings, and immediately benefit from encrypted DNS and system-wide tracker blocking without configuring a single rule. That combination powerful when you want it, invisible when you do not — is what makes it worth installing as a first step on any Windows or Linux system.

        Leave a Response