cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
206
Views
0
Helpful
1
Replies

ASA5505 port forwarding

kkragelund
Level 1
Level 1

Hi Everybody

I have been moving from a Cisco router 881 to ASA5505 V.8.4 but jusus ... crist it makes no sense, when i am want to port forward 2 port to one internal server

My Nas server needs to have 2 ports to be open 16881 and 6881. I know how to forward ONE port, but when i try to port forward to ports to the same ip on the internal network i wont work.

I though i could do 

object network

host 10.10.10.10

nat (inside,outside) static interface service tcp 16881 16881

nat (inside,outside) static interface service tcp  6881 6881

 but when i try to add the secound line it overwrites the first line.

Please help me :-(

1 Reply 1

works as designed ...

There is only one NAT-statement allowed per object. You need to configure two objects with one NAT each. It could look like the following:

object network Server-NAT1
host 10.10.10.10
nat (inside,outside) static interface service tcp 16881 16881
!
object network Server-NAT2
host 10.10.10.10
nat (inside,outside) static interface service tcp  6881 6881
Review Cisco Networking products for a $25 gift card