Squid with two ports listening.

Matthew Western mwestern at affairs.net.au
Wed Jul 3 10:48:15 CST 2002


no that's exactly what i meant.  this is an excellent idea.  do the
throttling with iptables....
now i've gotta look up how to throttle with tables....
thanks muchly...
m
-----Original Message-----
From: alcaron at senet.com.au [mailto:alcaron at senet.com.au]
Sent: Wednesday, July 03, 2002 8:03 PM
To: mwestern at affairs.net.au
Cc: linuxsa at linuxsa.org.au
Subject: Re: Squid with two ports listening.


Quoting Matthew Western <mwestern at affairs.net.au>:

> Hi Everyone,
> I've got a squid proxy which is connected to a 2Mb link.  I want to setup
> squid to run on two ports run by the same squid (perhaps different squid
> processes).  I want the standard port of 80 to have throttling (which i've
> got working nicely), and i want to have a second port that works
> unthrottled.

Specify the http_port directive twice[0], once for port 80 and once for your
other port. Set up ipchains/iptables to throttle connections with a
destination
of your machine's IP and port 80.

I suspect that this isn't what you meant, however. Would you mind rephrasing
the question?

[0] http://squid.visolve.com/squid24s1/network.htm#http_port

--
Michael Pearson

-------------------------------------------------
This mail sent through SE Net Webmail
http://webmail.senet.com.au


-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request at linuxsa.org.au with "unsubscribe" as the subject



More information about the linuxsa mailing list