Looking for experience with adguard-cli

Looking for experience with adguard-cli.

Have any of you tried adguard-cli over a longer period of time? Can it be recommended as a system-wide adblocker? I bought a Livetime license from Adguard years ago (still with Windows), which I could now use for this.

Please no suggestions for other system-wide solutions! I still have this license here and thought it would be a good idea. At least the browser extension works very well.

Hello, I used to apply on an old smartphone and it indeed blocked ads globally. But on a Linux kernel based system, the only place you can see ads is in the web browser. There are add-ons for these browsers that are great at blocking ads, e.g. Ublock Origin. Therefore, I don’t know what kind of ads it would block in native applications available for Linux ? The situation is different in macOS and Windows.

I understand your meaning.

However, there are applications available for linux that are not strictly open source - I refer to those foreign applications a user might install which have a “freemium” or even “commercial” licence.

Linux offers a certain freedom, but users too are free to use any available software they might wish. Because of this, adblocking can be warranted, even at the application level.

In an ideal world ad blocking might not be needed at all;
but, that’s not the reality of the world we live in. :man_shrugging:

Regards.

1 Like

well i suggest that you’re new to linux, so welcome to the linux-universe. i understand your intention although there are quite a lot of more popular solutions as pi-hole (just an example).
i think a good start to your installation is to check youtube for “linux adguard”. you’ll find a bunch of installation-tutorials that will be very helpful to get adguard installed, configured and run.

1 Like

Good approach, thank you.

I suggest you to look into this:

or with the same setup, you can also run:

Pretty much the same concept.

1 Like

Thanks for the suggestion, but you didn’t understand me. I’m not talking about any alternatives, but about using my existing lifetime license (!) for AdGuard Adblocker (in this case, adguard-cli). I didn’t ask about PiHole.

I’m not talking about the browser extension here, either, because I’ve been using it with FF for a long time anyway. Unfortunately, the Mv3 version in Chromium is no longer really usable. It just annoys me to have to rely on FF just for the ad blocker. Hence the attempt to create a browser-independent blocker. And as I said, I already have the license for it.

But I’ve now decided to try it out myself when I have the time and opportunity. Thanks to Btrfs, I can cleanly reset everything if I don’t like it.

Having taken a (very) quick look through the Installation, setup, and removal | AdGuard Knowledge Base page, I don’t see any potential problems with installing & running it. However, instead of running the installation script, you might find it it easier and safer to use the pre-compiled AUR package instead: AUR (en) - adguard-cli-bin:

pamac build adguard-cli-bin

That way, if you encounter any issues and want to remove it, then it can be done simply by running:

pamac remove adguard-cli-bin

Of course, you will still have to follow AdGuard’s setting up instructions after installing it via the AUR.

If you do get it successfully set up and running, it most likely won’t work with most web browsers unless their proxy settings are enabled & set to point to the AdGuard proxy addresses (the defaults being, according to the installation instructions screenshot, 127.0.0.1:3129 for HTTP & 127.0.0.1:1081 for SOCKS5). This may also mean that DNS over TLS for those browsers may not work (however, adguard-cli may already have that functionality built-in).

3 Likes

Many thanks @scotty65 , I thought about the installation via AUR. I have to try when it comes to proxy settings.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.