• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 337
  • Last Modified:

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?
0
Cobra25
Asked:
Cobra25
1 Solution
 
max_the_kingCommented:
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

Featured Post

Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now