06-29-2019 12:45 PM - edited 06-29-2019 12:46 PM
Hi,
I'm following a Cisco tutorial for configuring an ASA5505 with a DMZ. Link to the tutorial below:
I've set it up and getting to Step 2 'Step 2 - Configure NAT to Access the Web Server from the Internet' I input the command:
nat (dmz,outside) static webserver-external-ip service tcp www www
and it throws an error:
ciscoasa(config-network-object)#nat (dmz,outside) static webserver-external-ip service tcp www www ^ % Invalid input detected at '^' marker.
I just can't work out what I'm doing wrong. I've follow the tutorial (only changing IP addresses slightly).
I'm running it on Packet Tracer 7.2.1.
With ASA 5505 - Cisco Adaptive Security Appliance Software Version 8.4(2)
If anyone is able to help that would be really appreciated.
Thanks
06-29-2019 07:20 PM - edited 06-29-2019 07:21 PM
You are missing the <source> statement
e.g
nat (dmz,outside) source static webserver-external-ip service tcp www www
Try the above and see how that works
you can always place a question mark to provide addition options
(config)# nat (dmz,outside) ?
<1-2147483647> Position of NAT rule within before auto section
after-auto Insert NAT rule after auto section
source Source NAT parameters
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