Link to home
Start Free TrialLog in
Avatar of bhnmi
bhnmi

asked on

Remove static nat mapping

I want to remove a static mapping because the server IP has changed. I have the new mapping, I just can not seem to get the old one out.

I used this

no static (inside,outside) tcp x.x.x.x ftp x.x.x.x ftp netmask x.x.x.x 0 0

Obviously it didn't work :)

Whats the correct method to remove the mapping and add the new one?
ASKER CERTIFIED SOLUTION
Avatar of 2PiFL
2PiFL
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bhnmi
bhnmi

ASKER

I got it out now.

But now, my new mapping is not working correctly.
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp interface 3390 192.168.100.11 3390 netmask 255.255.255.255 0 0 
static (inside,outside) tcp interface 3389 192.168.100.20 3389 netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x www 192.168.100.25 www netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x https 192.168.100.25 https netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x 3389 192.168.100.28 3389 netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x ftp 192.168.100.27 ftp netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x www 192.168.100.30 www netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x https 192.168.100.30 https netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x 3389 192.168.100.29 3389 netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x https 192.168.100.10 https netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x www 192.168.100.9 www netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x https 192.168.100.9 https netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x telnet 192.168.254.1 telnet netmask 255.255.255.255 0 0 
static (inside,outside) tcp x.x.x.x ftp 192.168.100.12 ftp netmask 255.255.255.255 0 0 
access-group outside_in in interface outside

Open in new window

Avatar of bhnmi

ASKER

The new one is the last mapping

static (inside,outside) tcp x.x.x.x ftp 192.168.100.12 ftp netmask 255.255.255.255 0 0

Everything is the same except for the private IP....