PIX 505 Port Forward

Posted on 2009-04-08
Last Modified: 2012-05-06
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.

Question by:NTGuru705
  • 2
LVL 16

Expert Comment

ID: 24099158
static (inside,outside) tcp [outside ip] 50 host [inside ip] 22


static (inside,outside) tcp [outside ip] 2005 host [inside ip] 2005
LVL 16

Expert Comment

ID: 24099162
You will also need to modify your incoming ACLs to permit the traffic in.
LVL 43

Accepted Solution

JFrederick29 earned 500 total points
ID: 24099182
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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question