Open Source AdGuard Alternatives for Linux

AdGuard is not available for Linux but there are plenty of alternatives that runs on Linux with similar functionality. The best open source Linux alternative is Portmaster. If that doesn't suit you, our users have ranked more than 100 alternatives to AdGuard and 17 are open source and available for Linux so hopefully you can find a suitable replacement. Other interesting open source Linux alternatives to AdGuard are NextDNS, Pi-hole, Privoxy and Irbis Zen.

filter to find the best alternatives

Most AdGuard alternatives are Ad Blockers, but you can also narrow the list to Firewalls or Network Monitors. Other popular filters are Android, Windows, Linux and Free.
Copy a direct link to this comment to your clipboard
Alternatives
AdGuard alternatives page was last updated

Alternatives list

  1. Portmaster icon
     205 likes

    Free, open-source privacy suite monitoring all network activity, blocking unwanted connections, using trusted filter lists for ads and malware, enforcing DNS-over-TLS, providing custom app and global rules, and supporting advanced privacy management.

    43 Portmaster alternatives

    Cost / License

    Application type

    Platforms

    • Windows
    • Linux
    Good alternative?
     
    |
    1
  2. NextDNS icon
     185 likes

    NextDNS protects you from all kinds of security threats, blocks ads and trackers on websites and in apps and provides a safe and supervised Internet for kids — on all devices and on all networks.

    148 NextDNS alternatives

    Cost / License

    • Freemium
    • Open Source (MIT)

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
    • Android
    • iPhone
    • Chrome OS
    • BSD
    • iPad
    • UC Browser
    • Vivaldi
    • Google Chrome
    • UniFi Network
    • Safari
    • Yandex Browser
    • Software as a Service (SaaS)
    • OpenWrt
    • Opera
    • Alpine Linux
    • pfSense
    • Mozilla Firefox
    • DD-WRT
    • US flagUnited States
    NextDNS screenshot 1
    Good alternative?
     
  3. Pi-hole icon
     203 likes

    Blocks ads for all connected devices at the DNS layer without client setup. Provides web control, in-app ad and tracker blocking, DHCP and API support, regex filtering, privacy modes, audit logs, and long-term query analytics for network management.

    48 Pi-hole alternatives

    Cost / License

    • Free
    • Open Source

    Application type

    Platforms

    • Linux
    • Self-Hosted
    • CentOS
    • Fedora
    • Ubuntu
    • Debian
    • Raspberry Pi OS
    • Raspberry Pi
    • US flagUnited States
    The Web interface shows how many ads were blocked, a query log, and more.
    Good alternative?
     
  4. Privoxy icon
     61 likes

    Privoxy is a non-caching web proxy with advanced filtering capabilities for enhancing privacy, modifying web page data and HTTP headers, controlling access, and removing ads and other obnoxious Internet junk.

    62 Privoxy alternatives

    Cost / License

    • Free
    • Open Source

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    Good alternative?
     
  5. Irbis Zen icon
     20 likes

    Zen is an open-source system-wide ad-blocker and privacy guard for Windows, MacOS, and Linux. It works by setting up a proxy that intercepts HTTP requests from all applications, and blocks those serving ads, tracking scripts that monitor your behavior, malware, and other...

    Cost / License

    • Free
    • Open Source (MIT)

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    Good alternative?
     
  6. husi icon
     3 likes

    Husi is a non-professional and recreational proxy tool integration for the weird beliefs and free software spirit!

    Cost / License

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    • Android
    • Obtainium
    Good alternative?
     
  7. Privaxy icon
     3 likes

    Privaxy is the next generation tracker and advertisement blocker. It blocks ads and trackers by MITMing HTTP(s) traffic.

    Cost / License

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    • Self-Hosted
    Good alternative?
     
  8. Consolidating and extending hosts files from several well-curated sources. Optionally pick extensions for porn, social media, and other categories.

    Cost / License

    • Free
    • Open Source (MIT)

    Application type

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
    • Android
    • Android Tablet
    Good alternative?
     
  9. hBlock icon
     11 likes

    hBlock is a POSIX-compliant shell script, designed for Unix-like systems, that gets a list of domains that serve ads, tracking scripts and malware from multiple sources and creates a hosts file (alternative formats are also supported) that prevents your system from connecting to...

    Cost / License

    • Free
    • Open Source (MIT)

    Application type

    Platforms

    • Mac
    • Linux
    • BSD
    • Homebrew
    Good alternative?
     
  10. TinyProxy icon
     10 likes

    Tinyproxy is a light-weight HTTP/HTTPS proxy daemon for POSIX operating systems. It is free software, and supports transparent and reverse proxying.

    29 TinyProxy alternatives

    Cost / License

    Platforms

    • Linux
    Good alternative?
     
  11. upribox icon
     3 likes

    The upribox Software turns your RaspberryPi into a privacy-enhancing Wireless router with adblocking, Tor, and a VPN server.

    Cost / License

    Application type

    Platforms

    • Linux
    • Raspberry Pi
    Good alternative?
     
  12. Auto Hosts icon
     3 likes

    Hosts file are a useful redundancy when coupled with ad blockers like uBlock Origin and uMatrix - while debugging or 'Temporarily Allow All on this Site' with Noscript can open you up to underlying attacks or privacy intrusions.

    Cost / License

    Application type

    Platforms

    • Mac
    • Linux
    Good alternative?
     
12 of 17 AdGuard alternatives