PIX 505 Port Forward

I need to port forward SSH traffic that is headed to my PIX 505 and send it to an internal host. The trouble with this is the SSH port my Pix is listnening on. I need to use a different port number and port forward to the internal host on teh SSH port.

So for the sake of argument I need to take port 50 TCP on the outside and port forward to 22 on the inside host... can someone advise how to do that... ?

I also need to port forward port 2005 TCP to port 2005 TCP on an internal host.

Who is Participating?
Here is the syntax:

static (inside,outside) tcp interface 50 10.75.2.x 22 netmask
static (inside,outside) tcp interface 2005 10.75.2.x 2005 netmask

access-list acl_out permit tcp any interface outside eq 50
access-list acl_out permit tcp any interface outside eq 2005
static (inside,outside) tcp [outside ip] 50 host [inside ip] 22


static (inside,outside) tcp [outside ip] 2005 host [inside ip] 2005
You will also need to modify your incoming ACLs to permit the traffic in.
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.