03-30-2005 01:56 AM - edited 03-09-2019 10:47 AM
hi,
i have an issue with some mail servers rejecting some of our mail because the address that our mail server goes out on is not the same one that it resolves to.
this is because i have the following configured:
static (inside,outside) tcp x.x.161.101 smtp Exchange1 smtp netmask 255.255.255.255 0 0
(which covers from the outside in)
then :
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
global (outside) 1 interface
(which gives a different address for inside to outside mail)
i thought that the static would cover bi-directional nat'ing.
i am not sure how i can fix this.
thanks
sam
Solved! Go to Solution.
03-30-2005 04:16 AM
Yes, I think your best option is to assign a dedicated public ip address for the mail server.
However, you can try this configuration using "Policy NAT":
access-list mailer permit tcp host Exchange1 any eq smtp
nat (inside) 2 access-list mailer
global (outside) 2 x.x.161.101
Please let me know if this works
03-30-2005 03:13 AM
Hello,
Please clarify this: is there any reason you can't use one-to-one static
static (inside,outside) x.x.161.101 Exchange1 netmask 255.255.255.255 0 0
i.e, is x.x.161.101 used for other servers as well?
Regards,
Mustafa
03-30-2005 03:49 AM
would that fix it?
there is a reason as we are translating a different port(80) on that ip address to another internal server.
03-30-2005 04:16 AM
Yes, I think your best option is to assign a dedicated public ip address for the mail server.
However, you can try this configuration using "Policy NAT":
access-list mailer permit tcp host Exchange1 any eq smtp
nat (inside) 2 access-list mailer
global (outside) 2 x.x.161.101
Please let me know if this works
03-30-2005 05:06 AM
this works fine.
i thought that already using this x.x.161.101 in a static would mean i could not use it for the global but this works.
thanks
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