OPNsense Forum

English Forums => Zenarmor (Sensei) => Topic started by: Mks on January 03, 2021, 09:48:20 pm

Title: Whitelist only
Post by: Mks on January 03, 2021, 09:48:20 pm
Hi, is it possible to configure a policy based on a strict whitelist approach, meaning everything is blocked except what is defined within the whitelist?

br
Title: Re: Whitelist only
Post by: lar.hed on January 03, 2021, 10:22:11 pm
Sorry wrong thread...
Title: Re: Whitelist only
Post by: Mks on January 03, 2021, 10:58:37 pm
Sorry wrong thread...

Hi. I refer to Sensei.

Br
Title: Re: Whitelist only
Post by: sy on January 03, 2021, 11:08:29 pm
Hi @Mks

Yes it is possible to block everything and allow only specific domains via Whitelist.
Title: Re: Whitelist only
Post by: Mks on January 04, 2021, 04:16:45 pm
Hi @Mks

Yes it is possible to block everything and allow only specific domains via Whitelist.

Hi, thanks for the information.
Just to be clear, I only refer to Sensei.
How can I achieve an whitelist approach (URL and/or Domains) with Sensei?
Add a wildcard "*" to "Auto Blocklist Hosts" and the approved Domains into "Auto Whitelist Hosts"?

br

br
Title: Re: Whitelist only
Post by: sy on January 04, 2021, 11:03:32 pm
Hi,

When you add a domain, it covers all subdomains. abc.com covers aa.abc.com or abc.com/abc.html both Auto White/Blacklist. They are located Policies - Edit appropriate Policy - Web Control - Auto White/Black Lists.

If you select global for any domain in the white or blacklist, it will be valid for all policies.