Squid proxy 2.6 with FreeBSD 6.2



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
_______________________________________________
freebsd-isp@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Squid proxy 2.6 with FreeBSD 6.2
    ... I have a linux gateway server (using iptables on this) where my client hit ... FreeBSD (i mean transparent proxy). ...
    (freebsd-isp)
  • Re: tproxy on freebsd
    ... i recently build a proxy server to serve our small ISP, ... but i'm facing a big problem. ... does anyone has experience building a true transparent proxy with FreeBSD? ... I use transparent proxy on my home wi-fi network, ...
    (freebsd-stable)
  • Need help with getting transparent proxy working across WAN
    ... I have a FreeBSD transparent proxy working on local lan. ... I am able to ping the proxy server, and use the proxy if I utilize a pac file, and drop the IPFW rules. ... I should also note that I have transparent proxy running under Debian using iptables, across the WAN link, but want to move to FreeBSD. ...
    (freebsd-questions)
  • RE: Application layer firewall on FreeBSD, is it possible ?
    ... but you know, proxy is not what I am asking, proxy is not firewall. ... We do not need to restrict everything and all members. ... freebsd-ipfw and freebsd-pf mailling lists. ... Application layer firewall on FreeBSD, ...
    (freebsd-current)
  • Re: tproxy on freebsd
    ... with pf+proxy on FreeBSD gateways without any problems... ... i could use a sample configuration file ... FYI i already running transparent proxy with ipf+ipnat,: ... debian v3.4 and ms window 2003 server/professional). ...
    (freebsd-stable)