Dear Mr. Arun,

I have tried following conf. in the iptables but found none of them working.

$OUT .= "\t-p tcp --dport 80 -s ! 192.168.1.172 -j TransProxy\n"
-A RH-Firewall-1-INPUT -s 192.168.1.172 -m state --state NEW -j ACCEPT
iptables -t nat -I PREROUTING -i br0 -s 192.168.1.172 -j ACCEPT
iptables -t nat -l PREROUTING -s 192.168.1.172 -p tcp --dport 80 -j ACCEPT


Can you guide me further may be with correct line.

Thanks,
Jayendra

On Sat, Aug 7, 2010 at 5:32 PM, Arun Khan <[email protected]> wrote:

> On Sat, Aug 7, 2010 at 5:27 PM, Jayendra Deuskar <[email protected]>
> wrote:
>
> > I have one task to be performed on my linux server which works as a proxy
> > server.
> > I have a Squid with version 3.1.0.15 & iptables version 1.3.5
>                                                                ^^^^^^^^^^^
> The answer to your query lies in iptables - you need to give this IP
> number full access via iptables all other get redirected to the proxy
> server.
>
> -- Arun Khan
> --
> http://mm.glug-bom.org/mailman/listinfo/linuxers
>
-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to