cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1008
Views
5
Helpful
7
Replies

ASA 5505 Does not like using comma's (Setting up Port Forwarding)

ASA Version 8.2(5)

Device Manger Version 6.4(5)

So I'm trying to setup port forwarding for a single camera with an ip address and its using port 80 to stream the video feed. I think I have most of it setup however when I get to the nat command it keeps hanging on an error with the comma (,). These are my commands so far to get to where I am.

 

ASA>

ASA> en

Password: ********

ASA#

ASA# config t

ASA(config)#

ASA(config)# object network ASA-Camera

ASA(config-network)# network-object host 10.10.2.150
ASA(config-network)# nat (inside,outside) static interface service tcp http http
~Here is the error I get~
nat (inside,outside) static interface service tcp http http
                ^
ERROR: % Invalid input detected at '^' marker.
ASA(config-network) #
I'm using putty as the program.
1 Accepted Solution

Accepted Solutions

@SugarloafWaterAssociation I note you are using ASA 8.2 which uses different NAT syntax, here is an example using the old syntax. https://travelingpacket.com/2014/08/04/cisco-asa-8-2-and-below-static-nat/

 

 

View solution in original post

7 Replies 7

Sorry I thought this uploaded but it did not.

@SugarloafWaterAssociation try this

object network ASA-Camera
 host 10.10.2.150
 nat (inside,outside) static interface service tcp http http
 

This gives me an error on the host command

ASA# config t

ASA(config)#

ASA(config)# object network ASA-Camera

ASA(config-network)# host 10.10.2.150
 
ERROR: Invalid hostname: '10.10.2.150' 
INFO: A hostname must start and end with a letter or digit, and have as interior characters only letters, digits, or a hyphen.
 
 

 

@SugarloafWaterAssociation I note you are using ASA 8.2 which uses different NAT syntax, here is an example using the old syntax. https://travelingpacket.com/2014/08/04/cisco-asa-8-2-and-below-static-nat/

 

 

This code was at least accepted. If the internal ip address changed how would I make that change in ASA?

 

Still trying to gain access through the modem and firewall so I can't quiet accept this as an answer just yet.

ASA(config)# object network ASA-Cam <<- change the name may be OLD object network effect new one. 

ASA(config-network)# host 10.10.2.150
ASA(config-network)# nat  (inside,outside) static interface service tcp http http

Would this be possible if I just created this network object last week? By that I mean in the last 6 years of owning this device I have been the only to program it and I know I have never used that as a network object.

Review Cisco Networking for a $25 gift card