Hi,

On 6/28/12, Marikkannan Rajagopal <[email protected]> wrote:
> Hi All,
>
> The Server having two nic cards, one card is having the ipaddress as
> "192.168.1.4" and the other one is having the ipaddress as
> "192.168.2.55".All client systems having the ipaddress range
> "192.168.2.0/24",and
> the client system are accessing the internet through squid proxy.Now i want
> to configure the "Mozilla thunderbird" in all client systems.But it cannot
> accessing through squid proxy.
>
>   Now i made the proxy as transparent,still it was not working and i also
> done the NAT through iptables by
>
> iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to
> 192.168.2.55:3128
> iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
> --to-port 3128
>
>    here "eth0 ---> 192.168.1.4" and  "eth1 ----> 192.168.2.55". Please
> intimate where i am going wrong.
>
>  What type of changes i want to make the entire system working fine.thanks
> in advance....
>
If you want your network to be behind firewall and connect to external
network for HTTP, SMTP etc, you need to do SNAT(in your setup) with
POSTROUTING chain and enable connection tracking

HTH
Thanks
baskar
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to