cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
726
Views
0
Helpful
3
Replies

FTP NAT - router help

jweldin
Level 1
Level 1

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?

3 Replies 3

network.king
Level 4
Level 4

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

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?

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