Re: [squid-users] Reverse proxy with 2 Nics

From: Patrick Donker <padonker@dont-contact.us>
Date: Mon, 26 Mar 2007 15:41:07 +0200

Jonathan Faranda wrote:
> Hi All,
>
> I am attempting to setup a reverse proxy using two nics on a Centos 4.4 box. Nic 1 (eth0 - 192.168.1.3) is where I want my outside world to see and Nic 2 (eth1 - 192.168.3.1) is the network where my webserver resides.
>
> I have modified my squid.conf as follows:
>
>
> visible_hostname name_of_reverse_proxy
>
> http_port name_of_reverse_proxy:80
>
> tcp_outgoing_address 192.168.3.1 #Nic 2 interface
>
> httpd_accel_host 192.168.3.2 #the webserver address
>
> httpd_accel_port 80
>
> httpd_accel_single_host on
>
> httpd_accel_with_proxy off
>
> httpd_accel_uses_host_header on
>
>
> I have no firewall running since I flushed the rules with /sbin/iptables -F
>
> I am assuming it's a routing problem, but I do not understand how to do this. Any ideas? Thanks.
>
> Regards,
>
> Jon Faranda
>
What is your problem???
Received on Mon Mar 26 2007 - 07:41:25 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:02 MDT