ASA 5505 firewall NAT command

Posted on 2011-11-01
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
    LVL 35

    Expert Comment

    by:Ernie Beek
    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

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

    Accepted Solution

    Just do: write mem
    That's it :)

    Author Comment

    LVL 35

    Expert Comment

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

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Policy Base Routing Cisco 6500 Switch 10 54
    ACLs per VPN User 12 59
    Intermittent issue reaching a Chinese website. 2 41
    ASA 5506-X 7 41
    Cisco Pix/ASA hairpinning The term, hairpinning, comes from the fact that the traffic comes from one source into a router or similar device, makes a U-turn, and goes back the same way it came. Visualize this and you will see something that looks …
    I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now