OPNsense Forum

English Forums => General Discussion => Topic started by: hushcoden on February 21, 2021, 07:57:19 PM

Title: Unbound blacklist clarification
Post by: hushcoden on February 21, 2021, 07:57:19 PM
I am a bit confused, ergo I need some clarification:

One of my 'Aliases' is the Yoyo list which I used to configure a Firewall rule for both LAN and WAN (as per documentation).
Now, I've actually realised (better later than ever) I have the same Yoyo list in Unboubnd--> Blacklist -->  Type of DNSBL, so my question is: do I have to delete both rules in LAN and WAN or just in LAN ?

I was thinking that if I keep the rule in WAN that would prevent those IP addresses to connect to my client(s) or they would be blocked anyway thanks to Unbound?

Tia.
Title: Re: Unbound blacklist clarification
Post by: hushcoden on February 24, 2021, 09:31:24 PM
It's probably a silly question, but I'm still learning  ::)
Title: Re: Unbound blacklist clarification
Post by: TomK on February 25, 2021, 02:11:29 AM
I am not sure which way is better, firewall rules or dnsbl,  but I cannot figure out how to populate the list into an "Alias". How did you accomplish this?
Title: Re: Unbound blacklist clarification
Post by: hushcoden on February 25, 2021, 09:05:26 AM
I've attached one of mine.
Title: Re: Unbound blacklist clarification
Post by: TomK on February 25, 2021, 03:30:24 PM
Yes, thank you. I have many aliases set up this way. As far as I can tell they will only populate with a*.txt file. I cannot find a file of this format for the yoyo list. Have you?
Title: Re: Unbound blacklist clarification
Post by: hushcoden on February 25, 2021, 03:57:24 PM
Not sure I understood, but if you want the IPs list, you can use this URL: https://pgl.yoyo.org/adservers/iplist.php?ipformat=plain&showintro=0&mimetype=plaintext
Title: Re: Unbound blacklist clarification
Post by: TomK on February 25, 2021, 08:37:35 PM
Thank you.