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

  • From: mohan.tux@xxxxxxxxx (Mohan Sundaram)
  • Date: Thu, 28 Jun 2012 15:19:57 +0530

On Thu, Jun 28, 2012 at 10:43 AM, 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.

The second NAT for connections coming on eth0 is not needed.

Create NAT rules for -i eth0 dport 25 (SMTP), 110 (POP3) and 143
(IMAP) to the outgoing IP address... Then try telnet to your mail
server port 25 and see if you are getting a SMTP response.. Similarly
verify POP3.

Are you able to ping the internet from the server itself? This will
make sure your routing is correctly configured on the server. If not,
set default route as eth0.

-- Mohan Sundaram

Other related posts: