AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
24.65k stars 1.78k forks source link

Add content blocking proxy settings #1228

Open ameshkov opened 4 years ago

ameshkov commented 4 years ago

We're going to add the proxy module in v0.102: https://github.com/AdguardTeam/AdGuardHome/issues/391

Here's the necessary minimum that should be configurable:

Eyeborgs commented 4 years ago

Proxy types: HTTP, HTTP over TLS

socks5 will not? or will this be for the future?

rufengsuixing commented 4 years ago

Transparent Proxy for routers with iptables?just need to listen the port,i will do the iptables config in my luci project

ameshkov commented 4 years ago

socks5 will not? or will this be for the future? Transparent Proxy for routers with iptables?just need to listen the port,i will do the iptables config in my luci project

Not at first. But in the future -- of course, we'll add both of these options.

ghost commented 4 years ago

@ameshkov is this issue include about add separate pages for place cosmetic filtering rules lists?

155 #677 #639 #903 #920 #1045 #1132 #1319 #1397 #1455 #1480 #639

ameshkov commented 4 years ago

@ArchiveBase yeah, I guess we can use either this one or #391

JACK-THINK commented 4 years ago

@ameshkov

Support for socks5 proxy is very important. Thanks a lot.

temporallyaccount commented 3 years ago

Issues' i thought to mention

  1. Related logs https://github.com/AdguardTeam/AdGuardHome/issues/391#issuecomment-546719880

    @R9980 so will we able to have another 'usage log' (hosts - both domains/ip) additional to 'query log' for web user interface with inbound/outbound bandwidth for each hosts?

    yes, the proxy server will have a different log

  2. Usage bandwidth https://github.com/AdguardTeam/AdGuardHome/issues/1572

  3. Decentraleyes/LocalCDN https://github.com/AdguardTeam/AdGuardHome/issues/2148

91ajames commented 3 years ago

Would this work with a proxy of http://wl.is/ .js file provided by https://www.weblockapp.com by any chance? Blocks ads with'n apps and including the youtube app that I used several yrs ago.

mrbluecoat commented 3 years ago

+1

mrbluecoat commented 3 years ago

I'm a bit confused. #391 was closed because it appears tracking of the issue transitioned to this one. One of the posts indicates you had to create https://github.com/AdguardTeam/gomitmproxy and people can try an early release via https://github.com/AdguardTeam/urlfilter/tree/master/cmd Is there an up-to-date quickstart guide that explains how to use AdGuardHome with custom CA proxy?

ameshkov commented 3 years ago

@mrbluecoat it's not yet integrated into AGH so the only way to experiment with the proxy is to follow the instruction there: https://github.com/AdguardTeam/urlfilter/tree/master/cmd

I.e. you'd need to build it yourself.

thirdbyte commented 3 years ago

Is it feasible to add a VPN server to which all local devices would connect to and that's how HTTPS filtering would work? Just as it happens in AdGuard applications. I guess that would be more sorted than configuring proxy on each device. Moreover, VPN would enable AdGuard Home to deal with IP addresses (for devices connected through VPN) and hence support for firewall rules are also possible.

hplee0120 commented 3 years ago

Looking forward to the feature going live, two years have passed. .

jm33-m0 commented 3 years ago

Hi, in https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#configuration-file, is http_proxy supposed to proxy AdGuard's DNS over HTTPS requests?

I have tested and it won't work reliably

savely-krasovsky commented 3 years ago

@jm33-m0 http_proxy is only used for HTTP-client. For example your AGH setup has internet access only through proxy.

jm33-m0 commented 3 years ago

@L11R

For example your AGH setup has internet access only through proxy

So it means all upstream DNS (over HTTPS) requests will go through the proxy configured in http_proxy field, but in my test it just ignores my http_proxy and connects to DoH server directly.

I turned to used other solutions in the end, two AGH servers, one of which is used as upstream for the other, both in the same VPN so not affected by DNS poisoning.

Dominik-1980 commented 3 years ago

Hello.

I just saw this thread. I am not so familiar with adguard. Is it now possible to block youtube and other adds with the current version of adguard home over proxy?

erdoukki commented 3 years ago

Héllo, is it still not integrated in AGH ? Is there any advice to help testing ?

ameshkov commented 3 years ago

Nope, not yet integrated. I'll be really-really happy if we do that until the end of the year.

Karmylr commented 3 years ago

When to integrate this feature?It was postponed many times and I cant wait.

cirfis commented 3 years ago

+1

ihuaer commented 3 years ago

good job can not wait any more

savely-krasovsky commented 3 years ago

If you cannot wait -- do it yourself.

erdoukki commented 3 years ago

@mrbluecoat it's not yet integrated into AGH so the only way to experiment with the proxy is to follow the instruction there: https://github.com/AdguardTeam/urlfilter/tree/master/cmd

I.e. you'd need to build it yourself.

Thanks... I will have get some tests on this...

Dominik-1980 commented 2 years ago

Any progress on this?

kurokawaikki commented 2 years ago

Is this feature going to implement soon? Thanks!

Karmylr commented 2 years ago

Is this feature going to implement soon? Thanks!

This plan keeps being postponed

smaktacular commented 2 years ago

ACME support for people running step-ca would make certificate handling signifcantly easier imho.

See https://smallstep.com/docs/step-ca for further reference.

SaschaM-Dev commented 2 years ago

Is there any ETA for this feature? DNS blocking keeps getting worse, as - obviously - marketers / ad companies know about that.

ainar-g commented 2 years ago

No ETA, unfortunately. Any work on this feature will have to wait until we fix a number of issues that have long been plaguing AGH in the v0.108 cycle.

drdedus commented 1 year ago

something similar with this project out there?

Karmylr commented 1 year ago

something similar with this project out there?

good-mitm

ghost commented 1 year ago

something similar with this project out there?

https://github.com/Barre/privaxy

Karmylr commented 1 year ago

something similar with this project out there?

https://github.com/Barre/privaxy

Wow, this is so good!

Virinchi2595 commented 1 year ago

something similar with this project out there?

https://github.com/Barre/privaxy

Wow, this is so good!

@Karmylr @ghost any info if this can be used with adguard home?

ShalokShalom commented 1 year ago

something similar with this project out there?

https://eblocker.org/

mon-jai commented 1 year ago

something similar with this project out there?

Maybe privoxy?

ShalokShalom commented 1 year ago

That was already recommended.

SD-fan commented 1 year ago

something similar with this project out there?

https://eblocker.org/

I'm using eBlocker for years and I find it's the best solution out there. Especially their malware blocker saved my a... quite a few times.👍

Trung0246 commented 11 months ago

For anyone wants to rollout diy version this looks useful when combining with mitmproxy (especially with youtube recent shenanigan): https://ericdraken.com/pfsense-decrypt-ad-traffic

thezilione commented 5 months ago

Waiting anxiously. For now, I recommend eBlocker to anyone interested.

ShalokShalom commented 5 months ago

hblock works without an external device. Just run it locally, same effect as a DNS hole.

Planxnx commented 2 months ago

Is there any progress ??