Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I force outgoing SMTP through a specific IP?

Status
Not open for further replies.

CubbyFifi

IS-IT--Management
Aug 30, 2010
2
US
I originally posted this question in the TCPIP group and someone suggested that I post it here.

I use a CISCO 1811/K9 router and have a block of IP addresses from my ISP assigned to my office.

All is working fine but I want all of my Exchange server traffic assigned to one of the IP addresses. I currently have a NAT setup for the incoming but I need to know how to setup the outgoing.

Here is an example:

My primary static IP is 1.2.3.4 and my block is 5.6.7.8-10. I want all outgoing SMTP from my Exchange server to go through 5.6.7.9.

Any help you can offer is appreciated.
 
you need a static nat such as:
Code:
ip nat inside static <exchange_priv_ip> 5.6.7.9
just note that you need to adjust your ACL to permit only smtp inbound to this host because this will expose all open ports on the host to the outside

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top