12-08-2017 10:16 AM - edited 02-21-2020 06:55 AM
Anybody know how I would turn this IOS 8.2.5 nat statement into a IOS 9.8.1 nat statement?
static (DMZ-ADT,outside) udp ADT-Remote-Access 20000 192.168.13.3 20000 netmask 255.255.255.255
12-11-2017 03:27 AM
It should be:
object network ADT-Remote-Access
host x.x.x.x
nat (DMZ-ADT,outside) static 192.168.13.3 service tcp 20000 20000
12-11-2017 04:16 AM
12-11-2017 06:01 AM
I believe you are receiving the error because you are changing the IP inside the object that has a NAT statement. In order to make it work you will need different names for the ADT-Remote-Access object, something like this:
object network ADT-Remote-Access-x
host x.x.x.x
nat (DMZ-ADT,outside) static 192.168.13.3 service tcp 20000 20000
!
object network ADT-Remote-Access-y
host y.y.y.y
nat (DMZ-ADT,outside) static 192.168.13.4 service tcp 20001 20001
12-11-2017 06:36 AM
12-11-2017 07:48 AM
Yes, you need to configure an object every time you use a NAT statement under it in this case.
Sorry I confused the IPs on my example, here my example corrected:
object network ADT-Remote-Access-x
host a.b.c.d
nat (DMZ-ADT,outside) static 192.168.13.3 service tcp 20000 20000
!
object network ADT-Remote-Access-y
host a.b.c.d
nat (DMZ-ADT,outside) static 192.168.13.4 service tcp 20001 20001
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide