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

rule that permits port translation

w951duu
Level 1
Level 1

Was wondering if someone could help since I've never set up a rule that did a port translation, one of our groups has requested the following: they need a rule permits port 21 and translates it to port 2121  for the following IP 10.0.0.2. The ftp daemon is listening on port  2121 but they want to have normal port 21 activity.

I appreciate any advise.

1 Accepted Solution

Accepted Solutions

Hi,

static (in,out) tcp x.x.x.x 21 10.0.0.2 2121

The above rule says that whenever incoming traffic reaches IP x.x.x.x on port 21, it will be redirected
to IP 10.0.0.2 on port 2121

You should also have an ACL permitting this traffic, for example:

access-list outside permit tcp any host x.x.x.x eq 21

Federico.

View solution in original post

1 Reply 1

Hi,

static (in,out) tcp x.x.x.x 21 10.0.0.2 2121

The above rule says that whenever incoming traffic reaches IP x.x.x.x on port 21, it will be redirected
to IP 10.0.0.2 on port 2121

You should also have an ACL permitting this traffic, for example:

access-list outside permit tcp any host x.x.x.x eq 21

Federico.

Review Cisco Networking products for a $25 gift card