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. And see here for current known issues.

New Member

rule that permits port translation

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

Re: rule that permits port translation

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.

1 REPLY

Re: rule that permits port translation

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.

143
Views
0
Helpful
1
Replies