liyy
asked on
ASA 5505 firewall NAT command
Hi,
Company has two servers, one is email server and one is web server, external only one true IP.
internal IP as follows:
email server 192.168.1.1 (S1)
we server 192.168.1.2 (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 0.0.0.0 0.0.0.0
static (inside,outside) tcp interface pop3 S1Server pop3 netmask 255.255.255.255
static (inside,outside) tcp interface smtp S1Server smtp netmask 255.255.255.255
static (inside,outside) tcp interface 83 S1Server 83 netmask 255.255.255.255
static (inside,outside) tcp interface www S2Server www netmask 255.255.255.255
Company has two servers, one is email server and one is web server, external only one true IP.
internal IP as follows:
email server 192.168.1.1 (S1)
we server 192.168.1.2 (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 0.0.0.0 0.0.0.0
static (inside,outside) tcp interface pop3 S1Server pop3 netmask 255.255.255.255
static (inside,outside) tcp interface smtp S1Server smtp netmask 255.255.255.255
static (inside,outside) tcp interface 83 S1Server 83 netmask 255.255.255.255
static (inside,outside) tcp interface www S2Server www netmask 255.255.255.255
ASKER
That is it, it is very simple !! how to save it if the setting is correct?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks.
You're welcome. Thx for the points.
no static (inside,outside) tcp interface smtp S1Server smtp netmask 255.255.255.255
static (inside,outside) tcp interface smtp S2Server smtp netmask 255.255.255.255
Should do the trick.