Trasparent proxy help...

From: Francesco Zerra <zerra@dont-contact.us>
Date: Wed, 28 Apr 1999 17:43:16 +0200 (MET DST)

Hi all,
I'm running Squid as trasparent proxy on a NetBSD box (acting as firewall)
with IP-Nat enabled.

Everything in going very very well, but when I ask for a page to a web server
listening on port 8080 outside my FW from a workstation inside my FW, Squid
doesn't correctly work. Infact It returns 'http://host/' instead
'http://host:8080/'...

In my squid.conf file appears:
        tcp_incoming_address 127.0.0.1
        tcp_outgoing_address 195.120.213.11

        http_port 8080
        httpd_accel_host virtual
        httpd_accel_port 80
        httpd_accel_with_proxy on
        httpd_accel_uses_host_header on

        redirect_program /opt/squid/bin/squirm
        redirect_children 10

and in the ipnat.conf
        rdr ep1 0.0.0.0/0 port 80 -> 127.0.0.1 port 8080 tcp
        rdr ep1 0.0.0.0/0 port 8080 -> 127.0.0.1 port 8080 tcp
which tells the kernel to redirect all outgoing connection on port 80 and 8080
to Squid.

Have I missed something???? What's wrong????

Thank you in advance,
------------------------------------------------------------------------------
 ======== +------------------------------------------------------------------+
  ====== | Consorzio Mario Negri Sud - No profit Biomedical Research Center |
    || +------------------------------------------------------------------+
    || http://www.cmns.mnegri.it ---- mnsud@cmns.mnegri.it

Francesco Zerra [zerra@cmns.mnegri.it] (Tel.) +39-0872.570.278
System Administrator (Fax.) +39-0872.578.240
------------------------------------------------------------------------------
Received on Wed Apr 28 1999 - 09:46:14 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:01 MST