Re: Transparent proxy with iptables

2002-11-18 Thread hongky Michael
unsubscribe From: Anth Courtney <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Subject: Re: Transparent proxy with iptables Date: Tue, 19 Nov 2002 16:24:35 +1100 (EST) Roger, > Second: Redirect the http request to s

Re: Transparent proxy with iptables

2002-11-18 Thread Anth Courtney
Roger, > Second: Redirect the http request to squid listening port (3128) > > iptalbes -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 3128. I assume that you meant 'iptables' instead of 'iptalbes'? > I think it should work. but after I assigned the 2.2.2.2 as the default > gatew

Transparent proxy with iptables

2002-11-18 Thread Roger
Hi. I am working on a transparent proxy project now. The softs I using are the iptables (NAT) coming with RH8, squid 2.5-stable and RH8. The configureation I made are the following. First: SNAT all the request from the intranet to internet, for example: iptables -t nat -A POSTROUTING -o eth0 -s