cisco asa static nat

Hey guys, i have a cisco asa firewall running 8.4

i have a server that I need to NAT to a public IP and open all ports to it (for some brief testing). Can you let me know how to do this?
LVL 4
Cobra25Asked:
Who is Participating?
 
max_the_kingConnect With a Mentor Commented:
Hi,
suppose you want to nat private ip 192.168.1.100 to public ip 1.2.3.4, this is the code:

object network obj-192.168.1.100
 host 192.168.1.100

object network obj-192.168.38.36
 nat (inside,outside) static 1.2.3.4

access-list inbound permit ip any host 192.168.38.36

access-group inbound in interface outside

hope this helps
max
0
 
Cobra25Author Commented:
thanks max!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.