[plug] Questions about a dialup server

Matt Kemner zombie at networx.net.au
Mon Feb 8 11:59:16 WST 1999


On Mon, 8 Feb 1999, Michael Hunt wrote:

> what happens. Any suggestions for running squid behind a firewall,
> especially considering that the pages can only be downloaded from a parent
> proxy and not directly from the source ?

Yes, there's a config entry called hierarchy_stoplist, which by default is
set to "cgi-bin ?", which means if it encounters either a ? or the word
cgi-bin in the URL, the cache tries to access the webpage by itself.  If
you comment that line out, it will go through the parent cache instead.

> On another note how does one set-up IP-Masquerading. I followed the
> instructions in the mini howto, compiled my Kernel add the appropriates
> lines to the rc files and it doesn't work. I also noticed the IP forwarding
> comes up as being off on bootup. Is this supposed to be right (doesn't make
> sense to me). If not how am I supposed to turn it on/get IP Masquerading
> working. Anyone's experience with setting this up on a RedHat 5.2 box from
> scratch would be helpful (step by step would be great).

I believe there's an option in redhat's "control panel" that allows you to
specify if you want ip forwarding on or off, but to do it manually you
run:
echo 1 > /proc/sys/net/ipv4/ip_forward

If you don't have ip forwarding on your masquerading won't work.

 - Matt



More information about the plug mailing list