Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


ASA 5505 firewall NAT command

Posted on 2011-11-01
Medium Priority
Last Modified: 2012-05-12

Company has two servers, one is email server and one is web server, external only one true IP.

internal IP as follows:
email server (S1)
we server  (S2)

Later, we are going to migrate the email system from S1 to S2, I am not familiar ASA 5505 command, how can we change the NAT settings so that all emails to S1 will be redirected to S2.

I dumped the startup config and it has following config data

nat (inside) 0 access-list outside_1_cryptomap
nat (inside) 1
static (inside,outside) tcp interface pop3 S1Server pop3 netmask
static (inside,outside) tcp interface smtp S1Server smtp netmask
static (inside,outside) tcp interface 83 S1Server 83 netmask
static (inside,outside) tcp interface www S2Server www netmask
Question by:liyy
  • 3
  • 2
LVL 35

Expert Comment

by:Ernie Beek
ID: 37061162
Let's see:

no static (inside,outside) tcp interface smtp S1Server smtp netmask
static (inside,outside) tcp interface smtp S2Server smtp netmask
Should do the trick.

Author Comment

ID: 37061466
That is it, it is very simple !! how to save it if the setting is correct?
LVL 35

Accepted Solution

Ernie Beek earned 1000 total points
ID: 37061470
Just do: write mem
That's it :)

Author Comment

ID: 37061605
LVL 35

Expert Comment

by:Ernie Beek
ID: 37061688
You're welcome. Thx for the points.

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This past year has been one of great growth and performance for OnPage. We have added many features and integrations to the product, making 2016 an awesome year. We see these steps forward as the basis for future growth.
For months I had no idea how to 'discover' the IP address of the other end of a link (without asking someone who knows), and it drove me batty. Think about it. You can't use Cisco Discovery Protocol (CDP) because it's not implemented on the ASAs.…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question