luxysiv / Cloudflare-Gateway-Pihole

Make ad blocking dns using Cloudflare Gateway Zero Trust
63 stars 111 forks source link

Suggestions #32

Closed LexterS999 closed 2 months ago

LexterS999 commented 2 months ago

Hey! I did all like in instructions but nothing happened in my account. Maybe I miss something? I changed .env file to my ID data too. But new rules don't appear in my filter list folder.

luxysiv commented 2 months ago

Enable and run Github Action.I saw you didn't do it

LexterS999 commented 2 months ago

UPD: Fixed, and now it's running as it should be. But how often this workflow should be actioned? Or it will be work automatically? Is it ok that there are a lot of lists inside firewall rules were created? What format better to use for blocking ads on Chrome browser and on Android OS?

Take a look at this project too https://github.com/KnightmareVIIVIIXC/AIO-Firebog-Blocklists and make change to this https://raw.githubusercontent.com/hagezi/dns-blocklists/main/domains/pro.txt

luxysiv commented 2 months ago

DNS use to block ads and tracking in applications. So it block ads in Chrome browser too, but it can't make web beautiful. You can use Microsoft Edge Canary on Android device. You can install Extensions like Ublock Original or Adguard. It's better way block ads on browser. Edge Canary is perfect

LexterS999 commented 2 months ago

Got it. But how often this workflow should be actioned? Or it will be work automatically? Is it ok that there are a lot of lists inside firewall rules were created?

Take a look at this project too https://github.com/KnightmareVIIVIIXC/AIO-Firebog-Blocklists and make change to this https://raw.githubusercontent.com/hagezi/dns-blocklists/main/domains/pro.txt

luxysiv commented 2 months ago

Got it. But how often this workflow should be actioned? Or it will be work automatically? Is it ok that there are a lot of lists inside firewall rules were created?

Take a look at this project too https://github.com/KnightmareVIIVIIXC/AIO-Firebog-Blocklists and make change to this https://raw.githubusercontent.com/hagezi/dns-blocklists/main/domains/pro.txt

It's auto run everyday. If has above 300.000 domains,script will be stop

luxysiv commented 2 months ago

I think use Adguard + Hagezi + Oisd is enough. And you can add some small specific list for Windows,Linux, or iOS...etc

LexterS999 commented 2 months ago

Thanks for the tip! But how to add additional list?

чт, 2 мая 2024 г., 14:22 Mạnh Dương @.***>:

I think use Adguard + Hagezi + Oisd is enough. And you can add some small specific list for Windows,Linux, or iOS...etc

— Reply to this email directly, view it on GitHub https://github.com/luxysiv/Cloudflare-Gateway-Pihole/issues/32#issuecomment-2089994854, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGBKUD6FKKOFRVDKUZ3MFG3ZAIATZAVCNFSM6AAAAABHDA4CUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBZHE4TIOBVGQ . You are receiving this because you authored the thread.Message ID: @.***>

luxysiv commented 2 months ago

Add your domains in dynamic_blaclist.txt List links in adlist.ini Read readme.md to know kinds of list

LexterS999 commented 2 months ago

Can I remove lists that already exists in adlist.ini? Wouldn't it break script?

luxysiv commented 2 months ago

You can.

LexterS999 commented 2 months ago

I did changes. But before deleted rules from ZeroTrust panel. And now nothing appears there. On GitHub side everything is fine and actions goes without error. Checked format of domains, and it's as should be. Only works when I use original file.

suricloud commented 1 month ago

I think use Adguard + Hagezi + Oisd is enough. And you can add some small specific list for Windows,Linux, or iOS...etc

Which format you recommend, i read on forums that hosts format is advised ? For example with adguard. Which version to use and which works better with your script with CF https://v.firebog.net/hosts/AdguardDNS.txt https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardDNS.txt

luxysiv commented 1 month ago

I think use Adguard + Hagezi + Oisd is enough. And you can add some small specific list for Windows,Linux, or iOS...etc

Which format you recommend, i read on forums that hosts format is advised ? For example with adguard. Which version to use and which works better with your script with CF https://v.firebog.net/hosts/AdguardDNS.txt https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardDNS.txt

Yes. It's supported


0.0.0.0 adtimaserver.vn 
127.0.0.1 ads.google.com 
||pqhoscjupq.com^
doubleclick.com
*ads.com