Search squid archive

Re: Reverse Proxy

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

 



Hi Zak,

so what you mean one Proxy Server unable to be Reverse Proxy and Normal Proxy at the same time?

Hi all,

anyone can help ?

thank you

Regards,
Kenny


----- Original Message ----- From: "Zak Thompson" <zak@xxxxxxxxxxxxxx>
To: "'Kenny Lee'" <kenny.lee@xxxxxxxxx>
Cc: <squid-users@xxxxxxxxxxxxxxx>
Sent: Monday, April 09, 2007 12:56 PM
Subject: RE:  Reverse Proxy


At the same time? Same process? Not sure but you can run multiple processes.
.. just tel squid to use a diff config file.

-
Zak

-----Original Message-----
From: Kenny Lee [mailto:kenny.lee@xxxxxxxxx]
Sent: Monday, April 09, 2007 12:54 AM
To: Zak Thompson
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  Reverse Proxy

Hi Zak,

can i have the Reverse Proxy and the Normal Proxy togather at the same time?

which i like to use the Reverse Proxy to let outsider to browse my backend
web server, and at the same time, my internal user can use that proxy to
surf net ...

Thank you

Regards,
Kenny

----- Original Message ----- From: "Zak Thompson" <zak@xxxxxxxxxxxxxx>
To: "'Kenny Lee'" <kenny.lee@xxxxxxxxx>
Cc: <squid-users@xxxxxxxxxxxxxxx>
Sent: Monday, April 09, 2007 12:31 PM
Subject: RE:  Reverse Proxy


Upgrade to 2.6stable12

That's not a reverse proxy.. a reverse proxy is when you use the internet
to
hit your backend server. i.e your serving web pages to the world

Reverse is this (flow down)

   Internet
       |
     Squid
      |
     Backend

Not (normal,transparent)

   Internet
   ^
       |
      Squid
       ^
       |
      Backend

Clear the cache?  Rm the cache dirs and re-create?

-
Zak

-----Original Message-----
From: Kenny Lee [mailto:kenny.lee@xxxxxxxxx]
Sent: Monday, April 09, 2007 12:28 AM
To: Zak Thompson
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  Reverse Proxy

hi Zak,

i have tried with the command you gave below, and my squid came out this
error ...
Shutting down WWW-proxy squid FATAL: Bungled squid.conf line 73: http_port
81 accel vhost vport=80
Squid Cache (Version 2.6.STABLE5): Terminated Abnormally.

then i tried to remove the word "accel" from the command, and it able to
restart the squid service. But another problem came out ... now i able to
view my website from backend web server, but when i search others website
like www.google.com, www.yahoo.com ... all point back to my web server.

anyway how to clear the squid cache? coz eventhough now i have clear my
local PC cache, and change back the setting of squid.conf, the proxy
server
still redirect me to my web server while i browse to others website.

Please help ... thank you

Regards,
Kenny


----- Original Message ----- From: "Zak Thompson" <zak@xxxxxxxxxxxxxx>
To: "'Kenny Lee'" <kenny.lee@xxxxxxxxx>
Sent: Monday, April 09, 2007 12:00 PM
Subject: RE:  Reverse Proxy


I am using 2.6 and that's how I have mine setup, you can set your proxy
port
to whatever.  Just make sure your parent peer is set to its web port.

-
Zak
-----Original Message-----
From: Kenny Lee [mailto:kenny.lee@xxxxxxxxx]
Sent: Monday, April 09, 2007 12:00 AM
To: Zak Thompson; squid-users@xxxxxxxxxxxxxxx
Subject: Re:  Reverse Proxy

hi Zak,

i am using squid 2.6 stable5, the word "accel" still able to be used in
suqid.conf ?
the port 8080 is the proxy port? can i set it to 81 ?

thank you

Regards,
Kenny

----- Original Message ----- From: "Zak Thompson" <zak@xxxxxxxxxxxxxx>
To: "'Kenny Lee'" <kenny.lee@xxxxxxxxx>; <squid-users@xxxxxxxxxxxxxxx>
Sent: Monday, April 09, 2007 11:52 AM
Subject: RE:  Reverse Proxy


Just set your parent peers to the backend servers.

Set squid to listen on a port
http_port                                   8080 accel vhost vport=80
cache_peer 192.168.30.32 parent 80 0
no-query originserver login=PASS

just make sure your http_access mask are correct.. that's all there is
to
it
really.  Squid will send all the requests to your cache_peer and magick
happens :)

-Zak

-----Original Message-----
From: Kenny Lee [mailto:kenny.lee@xxxxxxxxx]
Sent: Sunday, April 08, 2007 11:49 PM
To: squid-users@xxxxxxxxxxxxxxx
Subject:  Reverse Proxy

hi all,

can anyone show me some samples to setup a reverse proxy in squid.conf?

thank you

Regards,
Kenny













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

  Powered by Linux