OPNsense Forum

English Forums => General Discussion => Topic started by: justasking on May 20, 2017, 05:40:02 am

Title: Webfilter Block Google Image
Post by: justasking on May 20, 2017, 05:40:02 am
Good day!

I am using opnsense in virtual box for testing purposes before implementing it on our production network.

The scenario is, users can use google search but they can't browse google images. Is it possible for opnsense to do that?
Title: Re: Webfilter Block Google Image
Post by: bartjsmit on May 20, 2017, 09:18:53 am
This should work with Squid and a regex: https://docs.diladele.com/faq/filtering/google_images.html

Not sure if you can feed this in through a blacklist or if you need to hack squid.conf

Bart...
Title: Re: Webfilter Block Google Image
Post by: fabian on May 20, 2017, 10:03:13 am
Regular expressions can be added via the GUI.
Title: Re: Webfilter Block Google Image
Post by: justasking on May 20, 2017, 01:17:25 pm
This should work with Squid and a regex: https://docs.diladele.com/faq/filtering/google_images.html

Not sure if you can feed this in through a blacklist or if you need to hack squid.conf

Bart...

Gonna try it..

Another question..

What if I'd like to allow some other websites which was blocked by category in web proxy?

I mean, I would like to block all blogs (which has category on black list) except google blogs? Should I make alias and add it as pass on firewall or should I allow it under Web Proxy > Forward Proxy>ACL>Whitelist.

I'm really new to this so please bare with me. Thanks.
Title: Re: Webfilter Block Google Image
Post by: justasking on May 20, 2017, 01:17:53 pm
Regular expressions can be added via the GUI.

Thanks for reply. Gonna try it soon.