OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: daras on April 30, 2020, 02:38:02 PM

Title: Web proxy access rules
Post by: daras on April 30, 2020, 02:38:02 PM
Hi,

New user on OpenSense and i must say i love it.
I 've a Mikrotik  background so am familiar with firewall and routing, in general.

I dont know i fi can do the following

Is it possible to deny all sites, with a a regular expression on Blacklist and ad then on the whitelist just allow the sites that i want.

I dont want to use remote acces lists or sensei because i ve tried it and they dont filter everything ?

Do you think that is possible ?

Thanks
Title: Re: Web proxy access rules
Post by: hbc on April 30, 2020, 10:59:52 PM
Sure. Web Proxy supports ACLs with black- and whitelists and you can use regex.
Title: Re: Web proxy access rules
Post by: daras on May 04, 2020, 02:12:32 PM
Do you know i f the following Regex block all sites ?

.*

Thanks
Title: Re: Web proxy access rules
Post by: hbc on May 04, 2020, 04:24:23 PM
https://www.regextester.com (https://www.regextester.com)  ;)
Title: Re: Web proxy access rules
Post by: daras on May 11, 2020, 12:07:56 PM
Is it possible to configure OPnsense only with a LAN address and just setting the proxy service ?