09-28-2011 09:44 PM - edited 03-07-2019 02:30 AM
Hi folks,
I have configured PAT from lan interface to wan interface and its working. LAN ip address is 172.16.0.0/16 and NATTED ip address is 125.19.11.145. i have configured static pat from wan to lan interface for mail service. External mail is hit to my 172.16.1.20 ip which is spam filtering server and then come to my mail server (IP 172.16.1.11). My incoming mail is working fine and i receive mail from 125.19.11.146 IP. but when i send mail from my lan to outside it is showing IP address 125.19.11.145 and some time it not reach to destination. Due to this problem my 125.19.11.146 IP has registered in RBL block list. I want to use same IP address for incoming and outgoing mail.
Configuration:-
access-list 1 permit 172.16.0.0 0.0.255.255
ip nat pool MMTC 125.19.11.145 125.19.11.145 prefix-length 30
ip nat inside source list 1 pool MMTC overload
interface FastEthernet0/0
ipnat inside
interface Serial0/2/1
ipnat outside
ip nat inside source static tcp 172.16.1.20 25 125.19.11.148 25 extendable
ip nat inside source static tcp 172.16.1.11 80 125.19.11.148 80 extendable
ip nat inside source static tcp 172.16.1.11 443 125.19.11.148 443 extendable
Router IOS: c2800nm-advsecurityk9-mz.124-
15.XZ2.bin
i have attached the config file please check and provide solution on this as soon as possible.
Solved! Go to Solution.
09-29-2011 12:47 AM
Hi Manas,
As I understand that your spam filter server 172.16.1.20 is your email Gateway and 172.16.1.11 is your exchange server.
From internet you are getting hits to 172.16.1.20 which have a record with IP 125.19.11.148
As per process... email from external domain will come first to your gateway which is (172.16.1.20 PI: 125.19.11.148) then it will route to your exchange server which is 172.16.1.11
Do you agree with above?
If yes for what purpose your internal exchange server have NAT?
Please rate the helpful posts.
Regards,
Naidu.
09-29-2011 12:47 AM
Hi Manas,
As I understand that your spam filter server 172.16.1.20 is your email Gateway and 172.16.1.11 is your exchange server.
From internet you are getting hits to 172.16.1.20 which have a record with IP 125.19.11.148
As per process... email from external domain will come first to your gateway which is (172.16.1.20 PI: 125.19.11.148) then it will route to your exchange server which is 172.16.1.11
Do you agree with above?
If yes for what purpose your internal exchange server have NAT?
Please rate the helpful posts.
Regards,
Naidu.
09-29-2011 01:20 AM
Hi Naidu,
I aggred on your question.
i will change the configuration and give you the feedback.
Regards,
Manas Ranjan Behera
+91-9560499888
09-29-2011 01:24 AM
Hi Manas,
I hope that will solve your problem, if not leve me know.
Do remember to rate the all helpfull posts as well.
Please rate the helpful posts.
Regards,
Naidu.
09-29-2011 05:06 PM
Hi Naidu,
Thank you for your reply.
i am agreed on your question.
Today i will remove the command and give you the feedback.
On Thu, Sep 29, 2011 at 1:17 PM, naiduccnp <
09-29-2011 05:31 PM
test reply
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide