OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Webfilter Block Google Image
« previous next »
  • Print
Pages: [1]

Author Topic: Webfilter Block Google Image  (Read 4645 times)

justasking

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
    • View Profile
Webfilter Block Google Image
« 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?
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: Webfilter Block Google Image
« Reply #1 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...
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Webfilter Block Google Image
« Reply #2 on: May 20, 2017, 10:03:13 am »
Regular expressions can be added via the GUI.
Logged

justasking

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
    • View Profile
Re: Webfilter Block Google Image
« Reply #3 on: May 20, 2017, 01:17:25 pm »
Quote from: 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...

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.
« Last Edit: May 21, 2017, 01:18:35 am by justasking »
Logged

justasking

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
    • View Profile
Re: Webfilter Block Google Image
« Reply #4 on: May 20, 2017, 01:17:53 pm »
Quote from: fabian on May 20, 2017, 10:03:13 am
Regular expressions can be added via the GUI.

Thanks for reply. Gonna try it soon.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Webfilter Block Google Image
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2