[Ilugc] Thunderbird mail client work behind the proxy or not

  • From: baskar910@xxxxxxxxx (baskar k)
  • Date: Thu, 28 Jun 2012 21:04:47 +0530

Hi,

On 6/28/12, Marikkannan Rajagopal <mail2marikkannan at gmail.com> 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

Other related posts: