radicldreamer
IS-IT--Management
I'm familiar with the ASA and PIX firewalls enough to use the gui and create rules, but the command line has always been foreign to me. Im trying to better understand it, and one of the first things I really want to learn is nat/pat.
From another forum I've found that the way to pat say an external address of 99.99.99.99:8080>192.168.1.50:80 is below. What I dont understand is the logic behind it. Can someone break it down piece by piece?
asa>enable
Password:
asa#conf t
asa(config)#access-list 101 permit tcp any any eq 80
asa(config)#static (inside,outside) tcp interface 80 192.168.1.50 80
asa(config)#access-group 101 in interface outside
asa(config)#exit
asa#write mem
From another forum I've found that the way to pat say an external address of 99.99.99.99:8080>192.168.1.50:80 is below. What I dont understand is the logic behind it. Can someone break it down piece by piece?
asa>enable
Password:
asa#conf t
asa(config)#access-list 101 permit tcp any any eq 80
asa(config)#static (inside,outside) tcp interface 80 192.168.1.50 80
asa(config)#access-group 101 in interface outside
asa(config)#exit
asa#write mem