On Tue, May 13, 2008 at 3:12 AM, melvin obiri <[EMAIL PROTECTED]> wrote:
> Hi, I need help with transparent proxy on fedora 6 or fedora.
>  I have set the http_port to transparent mode as below
>  http_port 192.168.0.220:3128 transparent
>
>  and made a fowarding rule on iptables but am still not able to do
>  transparent proxy
>
>  iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
>  --to-port 3128

What is eth0. It should be LAN interface.

Do you have a NAT rule there? something like below.

iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 1.2.3.4

Have you aplied DROP polices. then, You need another rule like this.

iptables -A INPUT -p tcp --dport 3128 -j ACCEPT

Pls try these.

GOOD LUCK

>
>  Is there anything am missing on here
>



-- 
Thank you
Indunil Jayasooriya

Reply via email to