AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Add content blocking proxy settings

Open ameshkov opened this issue 4 years ago • 35 comments

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:

  • Enable/disable
  • Filter lists (consider extending /#filters)
  • Certificate (we should generate it by ourselves, we should allow users to download this cert)
  • Port, network interface
  • Proxy authentication
  • Proxy types: HTTP, HTTP over TLS

ameshkov avatar Dec 03 '19 13:12 ameshkov

Proxy types: HTTP, HTTP over TLS

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

Eyeborgs avatar Dec 03 '19 16:12 Eyeborgs

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

rufengsuixing avatar Dec 03 '19 17:12 rufengsuixing

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.

ameshkov avatar Dec 04 '19 12:12 ameshkov

@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

ghost avatar Mar 15 '20 03:03 ghost

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

ameshkov avatar Mar 16 '20 09:03 ameshkov

@ameshkov

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

JACK-THINK avatar Apr 07 '20 13:04 JACK-THINK

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

  1. Usage bandwidth https://github.com/AdguardTeam/AdGuardHome/issues/1572
  2. Decentraleyes/LocalCDN https://github.com/AdguardTeam/AdGuardHome/issues/2148

temporallyaccount avatar Oct 11 '20 02:10 temporallyaccount

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.

91ajames avatar Oct 28 '20 04:10 91ajames

+1

mrbluecoat avatar Feb 13 '21 01:02 mrbluecoat

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?

mrbluecoat avatar Feb 13 '21 23:02 mrbluecoat

@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.

ameshkov avatar Feb 15 '21 07:02 ameshkov

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.

thirdbyte avatar Mar 11 '21 12:03 thirdbyte

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

hplee0120 avatar Apr 29 '21 19:04 hplee0120

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

jm33-m0 avatar May 27 '21 09:05 jm33-m0

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

savely-krasovsky avatar Jun 01 '21 18:06 savely-krasovsky

@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.

jm33-m0 avatar Jun 02 '21 03:06 jm33-m0

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?

Dominik-1980 avatar Jun 23 '21 19:06 Dominik-1980

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

erdoukki avatar Jul 13 '21 12:07 erdoukki

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

ameshkov avatar Jul 28 '21 20:07 ameshkov

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

Karmylr avatar Sep 13 '21 03:09 Karmylr

+1

cirfis avatar Sep 13 '21 04:09 cirfis

good job can not wait any more

ihuaer avatar Sep 13 '21 06:09 ihuaer

If you cannot wait -- do it yourself.

savely-krasovsky avatar Sep 13 '21 06:09 savely-krasovsky

@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...

erdoukki avatar Sep 13 '21 09:09 erdoukki

Any progress on this?

Dominik-1980 avatar Nov 06 '21 13:11 Dominik-1980

Is this feature going to implement soon? Thanks!

kurokawaikki avatar Nov 30 '21 01:11 kurokawaikki

Is this feature going to implement soon? Thanks!

This plan keeps being postponed

Karmylr avatar Nov 30 '21 01:11 Karmylr

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

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

smaktacular avatar Jul 08 '22 02:07 smaktacular

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

SaschaM-Dev avatar Aug 23 '22 07:08 SaschaM-Dev

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.

ainar-g avatar Aug 23 '22 12:08 ainar-g