how to open ports on cisco asa 5520 firewall for inbound/outbound to a server

On a cisco asa 5520, how do you open ports for inbound and outbound?  specifically I will need to do the following:


Ports 11112 TCP and 111180 TCP inbound / outbound to server (ip of server 10.0.0.170)
tonymopar440Asked:
Who is Participating?
 
Darkstriker69Commented:
with the static command and an access-list

for example if you outside interface was 92.148.146.99 and your server was 192.168.1.5

static (Inside,Outside) tcp interface 11112 192.168.1.5 11112 netmask 255.255.255.255
access-list Outside_In extended permit tcp any host 92.148.146.99 eq 11112

static (Inside,Outside) tcp interface 111180 192.168.1.5 111180 netmask 255.255.255.255
access-list Outside_In extended permit tcp any host 92.148.146.99 eq 111180
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.