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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

FTP NAT - router help

I have a router acting as an Internet gateway. I have a server on the private network that I want to be setup as an FTP server. I have an available public IP address to dedicate to this.

I am having a problem getting it to work.

I have a nat outside statement on my external int. I ahve a nat inside on my internal interface.

The ftp server is setup and works.

How do I get the public IP address to map to the private address?

  • WAN Routing and Switching
3 REPLIES

Re: FTP NAT - router help

Hi,

If this the setup , then its the plain nat statement

ip nat inside source static "private ip " " public ip "

ref:

http://www.cisco.com/en/US/tech/tk648/tk361/technologies_white_paper09186a0080091cb9.shtml

Hopt this helps

regards

vanesh k

New Member

Re: FTP NAT - router help

Thanks. That worked (after I removed a couple of statements I did close to that command). Can you tell me how to just limit the traffic to port 21?

Re: FTP NAT - router help

Hi

If you want to restrict only on port w.r.t nat , then you can do this by specifying in the nat statement

ip nat inside source static { tcp | udp }

Example:

ip nat inside source static tcp 192.168.10.1 21 171.69.232.209 21

Or if you have access-list in your wan interface , you can also restrict with the access-list.

Hope this helps.

regards

vanesh k

186
Views
0
Helpful
3
Replies
This widget could not be displayed.