POP mail receiving issue

Taking care of your Linux box.
Post Reply
Learner
Lance Naik
Posts: 41
Joined: Wed Nov 08, 2006 2:40 am

POP mail receiving issue

Post by Learner »

AOA

Dear All !

In my organization I have connected DSL line directly to Server "NIC1" having Public IP provided by the ISP, "NIC2" is containing private IP of my network.
Server is configured as proxy and local mail server. But when I want to receive mails from any other POP3 account my server do not allow me to do that.

OS on the server is FreeBSD 6.3, how can I configure the server to forward the 110 & 25 traffic from NIC2 to NIC1 as in linux masquerading will resolve the issue. For 80 port traffic I have configure a "IPNAT.RULE" as

map vr0 192.168.1.0/24 -> 0/32
rdr fxp0 0/0 port 80 -> 127.0.0.1 port 8080 tcp

No ipfw/ipfs configured.

Waiting for your responce.
Thanks & Regards


Muhammad Ali
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

if the system is running a mail server, you don't want to redirect incoming port 25 email to some other host.

the first line (map) should take care of the problem. if you can't reach pop servers outside your network, are you sure it's because of nat issues? it's more likely a dns issue. what happens when you give your mail client an ip address instead of a hostname?

your map line can be improved with:

Code: Select all

map vr0 192.168.1.0/24 -> 0/32 portmap tcp/udp auto
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Post Reply