Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2007 17:23:28 +0600
From:      "Anwarul Mamun" <mamun@freebsdmovement.org>
To:        freebsd-isp@freebsd.org
Subject:   Squid proxy 2.6 with FreeBSD 6.2
Message-ID:  <4857c35e0709110423w77c5217fs81a1f014d0a48adf@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi All!

I have a linux gateway server (using iptables on this) where my client hit
first. I want to direct the http traffic to the proxy server based on
FreeBSD ( i mean transparent proxy). I am using FreeBSD 6.2 and Squid proxy
2.6. I have directed the http traffic from my linux gateway server to the
proxy server on FreeBSD as below.  But the transparent proxying does not
work. Is there anyone worked with the issues on transparent proxy with
FreeBSD 6.2. who may suggest in this case?


/sbin/iptables -t nat -A PREROUTING -s 192.168.40.0/24 -p tcp --dport 80 -j
DNAT --to 172.16.3.1:8080
/sbin/iptables -t nat -A PREROUTING -s 192.168.40.0/24 -p tcp --dport 8080
-j DNAT --to 172.16.3.1:8080

Regards,

M



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4857c35e0709110423w77c5217fs81a1f014d0a48adf>