OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Proxy: blacklist not working?
« previous next »
  • Print
Pages: [1]

Author Topic: Proxy: blacklist not working?  (Read 4183 times)

Frittenfett

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Proxy: blacklist not working?
« on: July 13, 2017, 04:27:07 pm »
Hello,

I would like to setup my proxy to block everything except some whitelisted sites.
My configuration looks like this ->> see attachments.

This configuration is still allowing all traffic but I can't see my problem here?
Firewall rules aren't important in this case: clients are located in a different subnet and a different firewall is blocking all non-proxy-traffic.

Regards,
Tim
Logged

Julien

  • Hero Member
  • *****
  • Posts: 651
  • Karma: 32
    • View Profile
Re: Proxy: blacklist not working?
« Reply #1 on: August 01, 2017, 01:31:44 am »
Have you created the NAT rules so the users won't pas the proxy ?
Logged
An intelligent man is sometimes forced to be drunk to spend time with his fool.

bartjsmit

  • Hero Member
  • *****
  • Posts: 1604
  • Karma: 167
    • View Profile
Re: Proxy: blacklist not working?
« Reply #2 on: August 01, 2017, 08:10:07 am »
Quickest test to confirm a proxy is working is to browse to a non-existent website (e.g. http://thisisdefinitelytoolongtobearealwebsite.net) and see if you get the Squid error message, or the message from your browser.

Bart...
Logged

Frittenfett

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Proxy: blacklist not working?
« Reply #3 on: August 01, 2017, 05:20:11 pm »
Quote from: bartjsmit on August 01, 2017, 08:10:07 am
Quickest test to confirm a proxy is working is to browse to a non-existent website (e.g. http://thisisdefinitelytoolongtobearealwebsite.net) and see if you get the Squid error message, or the message from your browser.

Bart...
This part seems working fine:
Logged

Julien

  • Hero Member
  • *****
  • Posts: 651
  • Karma: 32
    • View Profile
Re: Proxy: blacklist not working?
« Reply #4 on: August 25, 2017, 03:59:29 pm »
you need to create a NAT rules for both http and https so the users won;t by pass the proxy and its will force every traffic to go through the proxy.
Logged
An intelligent man is sometimes forced to be drunk to spend time with his fool.

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Proxy: blacklist not working?
 

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