Where to place own blocklist and path specification in Adguard - closed

Team,

where (in which directory) is the best place to place my own block list?
How do I integrate this into Adguard?

Own filter list > Path specification?

Thank you
Neuro

Afaik you can't integrate local lists.

You can add them in the GUI directly as custom rules.

I guess you could create a personal pastebin and then link the URL inside the adguard custom blocklist.

Go to adguard settings > filters > DNS blocklists > add blocklist > add custom list. Then link to your URL

or you can just use the many pre-made lists as they're usually very comprehensive and are tested against false positives.

2 Likes

Yep, that was also my consideration via URL from my website...
But the logic of Pi-hole via local list integration is not possible?

thx

Well I do see the option to enter "absolute path" which would assume that you can reference the direct path if you are to upload to the router. This would require you to use something like winSCP to upload your file

However then you have consider how you maintain and update the list as it would be a static file that you have referenced. You would then need to keep uploading the new file to overwrite your changes. You would also need to find out how to mount / reference your blocklist as this is out of the scope for this forum and is more than likely a question to ask over at adguard. Also if you are to ever update the firmware then your changes could be wiped as you modified the files directly.

I personally would just use the pre-made ones or use a custom list that you have found that's been made online by reputable people, less hassle.

But if you do want your own list then it would be easier to do the online / pastebin approach as you can then just reference the URL and update the list online / pull the update via Adguard.

Alternatively you can just use the "custom filtering rules" and make rules there...

I allways use FTP for filetransfer...
Where would you place the file and what would the absolute path be?

^ It would all depend on where you upload your file I presume. I guess it needs to be within the adguard directory on the router. Again, I'm unsure hence I pointed you to the adguard forums however someone else on here might be able to help going forward.

1 Like

Ok, thank you for the conversation to all.

Neuro

It works perfectly:

List placed in:
/etc/AdGuardHome/pFilterlist.txt

Ready - but doublecheck after upgrades...

Have a nice WE

Guess you should add /etc/AdGuardHome to your /etc/sysupgrade.conf then, so the upgrade won't touch it.

1 Like

Great. Glad you found a solution. May I ask how you referenced / typed the path in the adguard field?

/etc/AdGuardHome/pFilterlist.txt

Put the local list(pFilterlist.txt) path (see above) in the URL field in Adguard.

1 Like