port redirection

Answered Question
Feb 12th, 2009
User Badges:

Good morning guys,


As the draw attached, I need to access the ASA 5520 on the outside port 3000 and redirect this connection to my server on the inside port 3000, How can I do that?

Thanks



Attachment: 
Correct Answer by Jon Marshall about 8 years 4 months ago

static (inside,outside) tcp 200.200.200.200 3000 192.168.1.200 3000


or if 200.200.200.200 is the IP address on the outside interface of your ASA


static (inside,outside) tcp interface 3000 192.168.1.200 3000


Edit - you will obviously also need to allow traffic with acl eg.


access-list outside_in permit tcp any host 200.200.200.200 eq 3000


access-group outside_in in interface outside


Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Loading.
Correct Answer
Jon Marshall Thu, 02/12/2009 - 05:53
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

static (inside,outside) tcp 200.200.200.200 3000 192.168.1.200 3000


or if 200.200.200.200 is the IP address on the outside interface of your ASA


static (inside,outside) tcp interface 3000 192.168.1.200 3000


Edit - you will obviously also need to allow traffic with acl eg.


access-list outside_in permit tcp any host 200.200.200.200 eq 3000


access-group outside_in in interface outside


Jon

Actions

This Discussion