Ports mapping

Unanswered Question
Jan 28th, 2009
User Badges:

hello

i have ftp server that i want to assign it public ip address, and this server is behind the router, how can i assign ACL in the router so that My FTP server could be accessible to the public.

thank you



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
kwillacey Wed, 01/28/2009 - 06:13
User Badges:
  • Bronze, 100 points or more

You will need a static translation, you can use either your interface ip or another ip address if you have a pool of addresses.


ip nat inside source static tcp 192.168.1.1 21 interface FastEthernet0/0 21 or


ip nat inside source static tcp 192.168.1.1 21 2.2.2.2 21


192.168.1.1 would be your ftp server. You can then restrict traffic inbound on the outside interface assuming you know the ip addresses that will be accessing the ftp server.


Hope this helps.

Actions

This Discussion