LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-04-2005, 08:06 AM   #1
shahg_shahg
Member
 
Registered: Aug 2004
Location: pakistan
Distribution: learning
Posts: 53

Rep: Reputation: 15
error in the outlook ... mail / rec.


hi....dears ihave setup my new HR9 proxy server it is working fine but ihave little bit problem in the pop3 ..... when every i try to send/rec. my mail using the ms outlook then i have got the following error ......

" The connection to the server has failed. Account: 'xxx.xxx.xxx.xxx', Server: 'xxx.xxx.xxx.xxx', Protocol: POP3, Port: 110, Secure(SSL): No, Socket Error: 10060, Error Number: 0x800CCC0E "


my iptables configration are the following...

======================================================
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
# enable ipforwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
#redirect port 80 to 8080 for squid
#iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
#iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE

#ssl port
iptables -t nat -A POSTROUTING -p tcp -s 0/0 --dport 443 -o eth1 -j SNAT --to xxx.xxx.xxx.xxx
#msn port
iptables -t nat -A POSTROUTING -p tcp -s 0/0 --dport 1863 -o eth1 -j SNAT --to xxx.xxx.xxx.xxx
#smtp
iptables -t nat -A POSTROUTING -p tcp -s 0/0 --dport 110 -o eth1 -j SNAT --to xxx.xxx.xxx.xxx
#pop3
iptables -t nat -A POSTROUTING -p tcp -s 0/0 --dport 25 -o eth1 -j SNAT --to xxx.xxx.xxx.xxx
#for mobilinksms
iptables -t nat -A POSTROUTING -p tcp -s 0/0 --dport 9999 -o eth1 -j SNAT --to xxx.xxx.xxx.xxx
iptables -t nat -A POSTROUTING -p tcp -s 0/0 --dport 51109 -o eth1 -j SNAT --to xxx.xxx.xxx.xxx
#ufone sms
iptables -t nat -A POSTROUTING -p tcp -s 0/0 --dport 5000 -o eth1 -j SNAT --to xxx.xxx.xxx.xxx
#Yahoo Checker's Port
iptables -t nat -A POSTROUTING -p tcp -s 0/0 --dport 11999 -o eth1 -j SNAT --to xxx.xxx.xxx.xxx

#another mobilink
iptables -t nat -A POSTROUTING -p tcp -s 0/0 --dport 51215 -o eth1 -j SNAT --to xxx.xxx.xxx.xxx
#paktel sms
iptables -t nat -A POSTROUTING -p tcp -s 0/0 --dport 5005 -o eth1 -j SNAT --to xxx.xxx.xxx.xxx
#webmail
iptables -t nat -A POSTROUTING -p tcp -s 0/0 --dport 8081 -o eth1 -j SNAT --to xxx.xxx.xxx.xxx

#iptables -t nat -I PREROUTING -i eth1 -p tcp --dport 8081 -j DNAT --to xxx.xxx.xxx.xxx:8081

iptables -t nat -A POSTROUTING -s 192.168.0.252 -o eth1 -j MASQUERADE

#iptables -A INPUT -p icmp --icmp-type echo-reply -s 0/0 -i eth0 -j ACCEPT
#iptables -A INPUT -p icmp --icmp-type destination-unreachable -s 0/0 -i eth0 -j ACCEPT
#iptables -A INPUT -p icmp --icmp-type time-exceeded -s 0/0 -i eth0 -j ACCEPT
#iptables -A INPUT -p icmp -i eth0 -j DROP



===========================================================
note : xxx.xxx.xxx.xxx is any IP address
 
Old 07-10-2005, 02:42 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Moved: This thread is more suitable in Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

What are the ethernet cards connected to?

Is there a reason you are specifcly using snat?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in mail through outlook alvi2 Linux - Networking 3 08-10-2005 04:39 AM
How to allow Outlook to get mail coffee9876 Linux - Newbie 9 10-14-2003 09:36 AM
Is there a way to get mail from Outlook into Evolution? nander Linux - Newbie 5 08-25-2003 06:43 PM
I can recieve mail (outlook) but i cant send mail hal_baumgardner Linux - Networking 4 07-13-2001 08:54 AM
E-mail and Microsoft outlook saxman Linux - Networking 0 04-20-2001 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration