March 28, 2024, 07:40:19 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: how do i forward http requests in a squid proxy server  (Read 6685 times)

Offline roxyboby

  • New Member
  • Posts: 3
how do i forward http requests in a squid proxy server
« on: December 29, 2004, 06:32:52 PM »
:shock:  
hi! all.
I have been trying to configure my computer as a linux proxy server buy am failing repeatedly. I have done it using microsoft's isa server and it was really simple.
I would like to explain how my setting are:

we already have a windows proxy server running with private ip 192.168.0.1

I have installed linux on my pc with 2 network cards with ip address 192.168.0.17 on one card and 10.10.0.1 on the second.

I am using a third computer directly connected to my pc to connect to the internet using ip address 10.10.0.2. I can ping between the third comp and my pc.

i have installed suse linux 9.1 on my pc and I can browse without any problems.

I have installed squid and it is also running on my pc.  Now where am i doing wrong in the squid.conf file????
if someone can give me some real steps to accomplish this feat I will reward him greatly

Thanks
my setting as as follows
 (216.104.201.69)                                                                                  
            |
windows proxy server
            |
            |
   (192.168.0.1)
            |
            |
    [ SWITCH ]
            |
            |
  192.168.0.17
            |
     SUSE 9.1  <-------- my pc running suse linux 9.1 with 2 network cards
            |
       10.10.0.1
            |
      10.10.0.2
            |
        3rd pc   <---------   pc used for testing the proxy

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
how do i forward http requests in a squid proxy server
« Reply #1 on: December 31, 2004, 02:21:03 PM »
Man, wat r u trying to say here? Reward? No thanks.

Are u trying to configure multiple proxy servers?

Need more informtion using diagrams to figure out. That will help alot thank u very much.

R u trying to have internet connection from the Windoze Proxy  to the Linux Proxy (and this baby to others?)

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
how do i forward http requests in a squid proxy server
« Reply #2 on: January 01, 2005, 03:25:53 PM »
As dragoncity said.. It is also not cleared to me.. may be heavy noise here at my place is disturbing my attention.

btw.. have you seen Squid proxy configuration

Offline roxyboby

  • New Member
  • Posts: 3
how do i forward http requests in a squid proxy server
« Reply #3 on: January 02, 2005, 09:37:45 AM »
:shock:


No. I am not configuring multiple proxy servers.  The one i am trying to configure is something like a proxy chain.






Yes This is exactly what I am trying to do!!!!.   From windows proxy to the linux proxy and then to others.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
how do i forward http requests in a squid proxy server
« Reply #4 on: January 03, 2005, 08:34:38 AM »
You can do so by installing squid proxy on a linux box in your LAN and then in your squid.conf add following lines..
Code: [Select]
cache_peer xxx.xxx.xxx.xxx parent 80 no-query here xxx.xxx.xxx.xxx is the ip of your microsoft proxy server and 80 is port used by it.

now set your client use squid proxy server box as server.

you may need to experiment a little about cache_peer option . See squid.conf.default file for more info.