[Ilugc] Problem in DNAT -- Squid

  • From: mohan.tux@xxxxxxxxx (Mohan Sundaram)
  • Date: Tue Sep 8 08:50:33 2009

On Mon, Sep 7, 2009 at 10:58 PM, mettur salem<metturmohan2009@xxxxxxxxx> wrote:


1.still i have problem in internet connectivity ?( network connection
timeout ? internet is via squid proxy server )
2. so i stoped the firewall ?now not net connecitivity problem but ?Remote
desktop connection not able to do from windows pc ?(ie, (not able) ?packets
are moved to reach linux server and going outside )

Turning off the firewall is not the solution. Configure the firewall
to allow outgoing HTTP/HTTPS connections. So also SMTP/POP3.

3. outlook mails are not able to delivered ?I installed the proxy address ?(
smtp mail.parveen.com ?, pop3 ?mail.parveen .com )
4. so i put dns in server and checked still i am not able to send and
receive the outlook mails via linux server
5. i checked the squid logs files ?no packets regarding the mail
information ?only web caching is working well via squid proxy

Squid is not a SMTP/POP proxy and so you will not see that.
Furthermore, you are only doing a redirect for HTTP to squid. How
would SMTP or POP go thro' a proxy (if installed) for those protocols?

?I expect your valuable suggestion ?I thank to all especially arun sag his
mail in burntomlete in squid is super thanks ( i like load balancing but now
i am not move there still i have problem )

You'll need to go thro' this resolution in a systematic manner. Stop,
resolve a step and then proceed.

1. Check if server's internet connection is working properly. Can be
verified by pinging an external IP.
2. Check if name resolution works properly on the server. Can be
verified by pinging a name like yahoo.com.
3. Check if firewall allows HTTP(s)/POP(s)/SMTP(s)/RDP by trying the
browser, RDP client and mail client like Thunderbird on the server.

This clears the server side. Next, lets come to the client.

1. Ping the server IP and check it is reachable. Am assuming that
machine is also configured as your gateway.
2. Try nslookup to see if names get resolved. If not, check your DNS
client config. If you are using the server as your client's DNS
server, check the DNS server configuration on this step's failure.
3. Try pinging yahoo.com. If it does not work, check SNAT
configuration on server.
4. Am assuming your transparent proxy works well as you've stated that
browsing works.
5. Now check the mail client on the LAN client. Configure the external
mail server names for SMTP and POP. make sure you have the relevant
auth settings turned on.

-- Mohan Sundaram

Other related posts: