On Tue, May 13, 2008 at 3:12 AM, melvin obiri <obirimelvin@gmail.com> 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 JayasooriyaReceived on Tue May 13 2008 - 03:01:10 MDT
This archive was generated by hypermail 2.2.0 : Tue May 13 2008 - 12:00:03 MDT