(SOLVED) Re: more transparent proxy problems (long)

Tim Wunder tim
Sat Oct 2 07:03:29 PDT 2004


On Friday 01 October 2004 6:35 pm, someone claiming to be James McDonald 
wrote:
> Tim Wunder wrote:
> >I'm still fighting with this transparent proxy problem, and I must be
> > missing something obvious, so I'll start at the beginning and descibe my
> > network and what I'm trying to do...
> >
> >I have a linksys cable router that is currently used as a firewall/nat
> > box. Its internal facing IP address is 192.168.1.254, It only allows
> > traffic from 192.168.1.2 to go to the internet.
>
> You have basically
>
> <NAT_router>--<192.168.1.0/24>--<10.0.0.0/10>
>
> you say that the NAT_router is only configured to allow 192.168.1.0/24
> that is one problem. The 10.0.0.0/10 will  probably hit the router and
> say uh no.
>
> Also I found that the traffic transfer on my little Alcatel NAT_Router
> didn't allow me to have 2 private LANS behind it... So I had to do the
> following
>
> <NAT_ROUTER>---<LINUX_BOX_WITH_NAT 192.168.1.2/24>--<10.0.0.0/10>
>
> Which is messy because of 2 layers of NAT and even then it wasn't so
> crash hot... (I don't remember it working properly)
>
> Probably the easiest way around this is the following.
>
>                                                   Linux Box 192.168.1.2
>                                                /
> <NAT_ROUTER>----<HUB>
>                                                \
>                                                  R40 192.168.1.x
>

Well, thanks for the suggestion, but I got it working. Once I figured out the 
obvious (my firewall was blocking all the relevant ports required for DNS and 
proxying), setting this up was relatively easy. 

I now have DHCP serving IP addresses to our laptops and transparent proxying 
with squid, filtered by Dansguardian. It's like magic...

And in the process, I've configured a caching DNS server (thanks, doug).

Regards, 
Tim


<snippety do da>
-- 
Fedora Core 2, Kernel 2.6.7-1.494.2.2,  KDE 3.3.0, Xorg 6.7.0
 08:30:00 up 2 days, 11:12,  4 users,  load average: 0.00, 0.01, 0.00
It's what you learn after you know it all that counts


More information about the Linux-users mailing list