Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Unbound Whitelist Domains?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Unbound Whitelist Domains? (Read 3567 times)
blacksteel1288
Newbie
Posts: 20
Karma: 0
Unbound Whitelist Domains?
«
on:
September 03, 2020, 02:17:44 am »
Hi all,
On 20.7, I'm using Unbound Blacklists for ads and malware from the publicly shared lists like AdAway and the blocklistproject, but I'm not clear on exactly how to use the "Whitelist Domains" entry to add back access to sites I need to use for work.
The help text just says "List of domains to whitelist. You can use regular expressions."
I first tried just entering a list of domains into that entry field, but that doesn't work. Next I tried a list of FQDNs, but that didn't work either.
I am able to get the whitelist to work with a single RegEx, but not multiple RegEx's which I would need to be able to whiltelist multiple domains in a manageable way.
Has anyone figured out a simple way to just add a list of domains to whitelist?
Thank you!
Logged
jassonmc
Newbie
Posts: 24
Karma: 0
Re: Unbound Whitelist Domains?
«
Reply #1 on:
September 03, 2020, 09:30:54 pm »
If I recall correctly, you have to enter something in blacklist and whitelist.
Just use a dummy entry in the otherwise empty list, like dummy.xyz
Cheers
Juri
Logged
blacksteel1288
Newbie
Posts: 20
Karma: 0
Re: Unbound Whitelist Domains?
«
Reply #2 on:
September 05, 2020, 02:39:01 pm »
The whitelist field label only says "Whitelist Domains", not "URLs of Whitelists" in the way the blacklists data entry field works.
Are you saying I can enter the URLs of a text file containing hostnames for the whitelist? If so that's great!
Is there an easy place to host a single .txt file on Opnsense for this purpose?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Unbound Whitelist Domains?