Author Topic: Http Proxy Filter  (Read 3293 times)

arielf

  • Zen Apprentice
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Http Proxy Filter
« on: October 12, 2011, 10:32:32 pm »
Hello list, I am using a translator

I have the following scenario

internet ---- router --- switch ---- clients
                                        |
                                        |
                                  Stand Alone cache Squid Sentyal Filter

from the router to make forwarding cache of squid (port 3128) and all the lan, passes through the proxy, which I assign filtering policies.
My question is if I can not use authentication, set different filtering profiles based on IP. as well as filtered by days and hours

thanks





christian

  • Guest
Re: Http Proxy Filter
« Reply #1 on: October 12, 2011, 10:41:42 pm »
If you want HTTP flow to be forwarded by the router to proxy in transparent mode, I'm pretty sure IP based filtering will be a challenge  ;D because source will always be router itself.  :'(

arielf

  • Zen Apprentice
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Http Proxy Filter
« Reply #2 on: October 12, 2011, 11:18:31 pm »
LAN clients and proxies are in the same subnet

192.168.200.xx

gateway 192.168.200.1 -- router


solarwindz

  • Zen Apprentice
  • *
  • Posts: 47
  • Karma: +0/-1
    • View Profile
Re: Http Proxy Filter
« Reply #3 on: October 13, 2011, 03:34:21 am »
Hello Arielf,

Here is an unsecured way. On the client side, use Zentyal IP as the gateway. On the Zentyal side, use the router as the gateway. By this, before going to the internet, Zentyal will interrupt the request. See if this works.

Thanks!
"Great minds think alike"

christian

  • Guest
Re: Http Proxy Filter
« Reply #4 on: October 13, 2011, 07:29:16 am »
@solarwindz
I don't understand why what you propose is "unsecured" but I also don't understand why it works  :o
If the only protocol used to access internet is HTTP, then using Zentyal proxy as you describe is OK but for anything else, you will have to route everything with potential impact on what is already defined at router level in term of firewalling (because I cannot imagine that arielf is running it as a router only without some extra feature).
Keep also in mind that HTTPS will not work "smoothly" using these multiple bounces  :-\

solarwindz

  • Zen Apprentice
  • *
  • Posts: 47
  • Karma: +0/-1
    • View Profile
Re: Http Proxy Filter
« Reply #5 on: October 13, 2011, 07:36:11 am »
Awts. Sorry for my english. I meant unsecured not referring to the Zentyal but to the network itself. Because the client can statically use his router as gateway, no Zentyal interrupting no filtering. ^_^

And I agree, HTTPS won't work smoothly using multiple bounces.

Thanks!
"Great minds think alike"

christian

  • Guest
Re: Http Proxy Filter
« Reply #6 on: October 13, 2011, 07:46:36 am »
OK, I understand better.
But this is not less secure than current design isn't it?
I mean current design uses router as default gateway  ;) So we have to guess that some components are deployed there to ensure minimum amount of control  :-\

Well, to make a long story short, using proxy in transparent mode when proxy is not network default gateway is a bit of non-sense.
Using Zentyal as http proxy only is somehow waste of resource (running Squid + squidguard will be much more efficient but this all depends on your hardware)
If proposed design is mandatory because of whatever constraint, the only single efficient way is to:
- block HTTP & HTTPS port at router level for the whole subnet but Zentyal
- declare Zentyal as proxy at browser level, either manually or using WPAD mechanism.

My $0.02  8)

solarwindz

  • Zen Apprentice
  • *
  • Posts: 47
  • Karma: +0/-1
    • View Profile
Re: Http Proxy Filter
« Reply #7 on: October 13, 2011, 07:51:34 am »
internet ---- Squid Sentyal Filter --- router --- switch ---- clients

You can either do this topology too in case you really need your router for other routing purposes or any layer 3 operations.

Thanks!
"Great minds think alike"

arielf

  • Zen Apprentice
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Http Proxy Filter
« Reply #8 on: October 13, 2011, 01:19:22 pm »
Thank you all for responding
the idea is so

The idea is to implement in a small ISP, the idea is only uzar Zentyal as content filtering
The network is well armed

Mikrotik Router as a network gateway and behind all clients
Then do the same router from forwarding HTTP connections and there Zentyal apply content filtering.

Zentyal only applies its filters any more. It is the network firewall.

thanks

christian

  • Guest
Re: Http Proxy Filter
« Reply #9 on: October 13, 2011, 01:43:50 pm »
OK, fine. Thus do it  ::)  This is your idea and you believe this is the right choice (which I respect) but is there any need to discuss further?  ???
I don't think so. Implement it and revert back to the forum later to let us know your feedback  ;)