Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Cisco asa 5505 port redirection on different port

Hi

 

I want to do a port redirection from the outside to a different port inside. From my public ip, iwant to use the port 6100 to communicate with the port 80 on the ip 192.168.1.10

thanks

4 REPLIES

Hi , what is asa code you are

Hi ,

 what is asa code you are running on your ASA box  ??

For Asa Code upto 8.2 

hostname(config)# static (inside,outside) tcp interface 6100 192.168.1.10 http netmask 255.255.255.255

 

After ASA code 8.3

 

object network webserver
 host 192.168.1.10

object service tcp_80

service tcp destination eq www

 

object service tcpout_6100
 service tcp source eq 6100

 

nat (Inside,Outside) 1 source static webserver interface service tcp_80 tcpout_6100

Number 1 is given to specific sequence of NAT during NAT translation . 

HTH

Sandy

 

New Member

Also do I need access rules ?

Also do I need access rules ? Thanks for helping me !

Hi ,  Yes you need firewall

Hi ,

  Yes you need firewall rule to allow source subnet to access your webserver on port 6100 .

 

HTH

Sandy

New Member

Hi I forgot to mentionned

Hi I forgot to mentionned that I have several public Ip is it the same command ?
49
Views
5
Helpful
4
Replies