Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #1494 > unrolled thread

squid, bridge or gateway setup?

Started byEzequiel Birman <stormwatch@espiga4.com.ar>
First post2012-06-27 04:10 -0300
Last post2012-06-30 21:48 +0100
Articles 3 — 3 participants

Back to article view | Back to comp.os.linux.networking


Contents

  squid, bridge or gateway setup? Ezequiel Birman <stormwatch@espiga4.com.ar> - 2012-06-27 04:10 -0300
    Re: squid, bridge or gateway setup? Martijn Lievaart <m@rtij.nl.invlalid> - 2012-06-30 00:49 +0200
      Re: squid, bridge or gateway setup? Chris Davies <chris-usenet@roaima.co.uk> - 2012-06-30 21:48 +0100

#1494 — squid, bridge or gateway setup?

FromEzequiel Birman <stormwatch@espiga4.com.ar>
Date2012-06-27 04:10 -0300
Subjectsquid, bridge or gateway setup?
Message-ID<87lij9qlh2.fsf@david.espiga4.com.ar>
Hi. I'd like to set up squid (transparent) but i am not sure how. The
router is Cisco RV042 v3 (same functionality as linksys RV042 v1). I
think it doesn't support wccp. Should I set a bridge or is it possible
to give the proxy server a fixed ip in the same subnet as the clients
and configure the clients to use proxy ip as gateway (by means of dhcp)?

-- 
Ezequiel Birman

[toc] | [next] | [standalone]


#1501

FromMartijn Lievaart <m@rtij.nl.invlalid>
Date2012-06-30 00:49 +0200
Message-ID<m1o1c9-7e8.ln1@news.rtij.nl>
In reply to#1494
On Wed, 27 Jun 2012 04:10:01 -0300, Ezequiel Birman wrote:

> Hi. I'd like to set up squid (transparent) but i am not sure how. The
> router is Cisco RV042 v3 (same functionality as linksys RV042 v1). I
> think it doesn't support wccp. Should I set a bridge or is it possible
> to give the proxy server a fixed ip in the same subnet as the clients
> and configure the clients to use proxy ip as gateway (by means of dhcp)?

Both possible. Both introduce a SPOF for non web Internet traffic. 

For the default gateway solution, don't forget to disable ICMP redirects 
on the squid box.

Third solution, make the squid box the default gateway, make it a router 
instead of a bridge and put the Cisco behind the squid box.

To avoid the SPOF, you can use a redundant squid box and use a virtual IP 
address (routing, default gateway) or spanning tree (bridge).

There is not much to recommend one solution over the other. The default 
gateway solution has the disadvantage that traffic crosses the LAN twice. 
Unless you have a very fast Internet connection and only 100Mbit LAN, 
this is unlikely to be a real problem. And you can solve that with an 
etherchannel or a 1G port on the squid box.

BTW, you do realize that people can always use some proxy on the Internet 
on some non standard port to bypass your proxy? And that your proxy will 
only work for the ports that get forwarded to it?

If you want this proxy for security, a better solution is to block all 
traffic on the Internet connection, except for what is explicitly 
allowed. Allow the proxy box out, but not the workstations. Then tell 
people that if they want to surf the Internet, they have to use the 
proxy. Simpler network, better security.

M4

[toc] | [prev] | [next] | [standalone]


#1506

FromChris Davies <chris-usenet@roaima.co.uk>
Date2012-06-30 21:48 +0100
Message-ID<a954c9x408.ln2@news.roaima.co.uk>
In reply to#1501
Martijn Lievaart <m@rtij.nl.invlalid> wrote:
> Then tell people that if they want to surf the Internet, they have to
> use the proxy. Simpler network, better security.

And this works better with certain scenarios, too, because the browser
knows it's got a proxy in the chain.

Chris

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.networking


csiph-web