cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4412
Views
0
Helpful
2
Replies

asa 5510 ver 8.0(2) how to setup port forwarding to server on network

arcolino11
Level 1
Level 1

hello all, I have a server on my network that I would like use through the asa. example inside ip address 192.168.2.x

port 20,333,555,999 outside ip address 216.235.122.x. I searched the internet and did not find commands for it. I would like to call

the server cars server. Please help.

2 Replies 2

varrao
Level 10
Level 10

Hi,

You would need this configuration:

static (inside,outside) tcp 216.235.122.x. 20 192.168.2.x 20

static (inside,outside) tcp 216.235.122.x. 333 192.168.2.x 333

static (inside,outside) tcp 216.235.122.x. 555 192.168.2.x 555

static (inside,outside) tcp 216.235.122.x. 999 192.168.2.x 999

and then open the same ports on the access-list that you have applied on the outside interface, eg:

access-list outside_access_in permit tcp any host 216.235.122.x eq 20

Here is a document for port forwarding on ASA:

http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a00804708b4.shtml

Thanks,
Varun Rao
Security Team,
Cisco TAC

Thanks,
Varun Rao

you could also create network objects for each of the servers and then write the nat rules/access rules just to make it easier for you to review the access rules/nat rules and change them when required.

Review Cisco Networking products for a $25 gift card