Search squid archive

Re: various squid instances on same server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Enrique wrote:
Hello Amos
you can tellme some example of an ACL please??

http_port 1234
http_port 3128

acl port1234 myport 1234
acl port3128 myport 3128

...

tcp_outgoing_address 10.0.0.1 allow port1234
tcp_outgoing_address 10.0.0.1 deny !port1234

tcp_outgoing_address 10.0.0.2 allow port3128
tcp_outgoing_address 10.0.0.2 deny !port3128



----- Original Message ----- From: "Amos Jeffries" <squid3@xxxxxxxxxxxxx>
To: "Enrique" <enrique@xxxxxxxxx>
Cc: <squid-users@xxxxxxxxxxxxxxx>
Sent: Monday, August 10, 2009 7:07 PM
Subject: Re:  various squid instances on same server


On Mon, 10 Aug 2009 10:20:04 -0500, "Enrique" <enrique@xxxxxxxxx> wrote:
i can install various squid instances on same server?

NP: The word order in English "i can" indicates something _is_ possible,
with a side implication that it has already been proven so by doing it.
You meant to say "can i", which means uncertain possibility, and is used to
start questions.  HTH.

for example: i wnat  to some users one  squid response by someip:8080
port
and external ip A
ACL, directives etc...
Other squid response to users  otherip:3128 and external ip B
somes times  happen when  some users is downloading a file from
megaupload,


The answer is yes. It is possible to run multiple squid on the same
machine.

However the first part of your example case does not need it to be done.
Only that squid be configured with multiple http_port lines and some myport
ACL which use tcp_outgoing_addr based on the receiving http_port.

rapidshare  ...  i  can't not
now i can  configure somes ip addres to my squid proxy and downloading
files from thas sites them megaupload will see  other ip

The example sites still won't work well with either setup.  To bypass the
rapidshare security with a proxy you are best off with the tproxy feature.
Which uses the client IP address on outbound links to the server.

Amos





--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE18
  Current Beta Squid 3.1.0.13

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux