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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Static NAT for my Mail Server

Status
Not open for further replies.

tex52

IS-IT--Management
Apr 14, 2005
45
US
I have a PIX 525 IOS 6.3, I would like to have my Mail server send out as the same IP every time instead of pulling from the dynamic NAT pool. How can I achieve this?
 
static (inside,outside) EXTERNALADDRESS INTERNALADDRESS netmask 255.255.255.255

Choose an EXTERNALADDRESS provided by your ISP that you are not using for any other translation. Static NAT's override dynamic NAT's


 
With the above everything destined to the external address will be forwarded to the internal address. If you have only one public IP this is a problem. You can use policy NAT so only that port (25) gets used and other traffic will be fine.

static (inside,outside) tcp ExternalIP 25 InternalIP 25 netmask 255.255.255.255



Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top