Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NAT for 2 FTP servers

Status
Not open for further replies.

burtsbees

Programmer
Jan 29, 2007
7,657
US
I have two FTP servers on my home network. I added static NAT statements like so...
router(config)#ip nat inside source static tcp x.x.x.x 21 int di1 21
router(config)#ip nat inside source static tcp y.y.y.y 2121 int di1 2121

I set my UNIX to port 21 and my Windows Server 2003 to port 2121...I can connect to UNIX FTP via port 21 from both inside and outside the network, but I can only connect to the Windows FTP from inside the network, via 2121 (not from the internet). Both NAT statements show up in the config (like, if I put in two NAT statements, both with the same port, then only the last statement shows up, meaning that there can only be one static NAT statement per port). Any suggestions, or is this even possible? Thanks.

Burt
 
Wow Burt, this is the first time I've ever seen you post a question. Anyways, have you run a port scan on that port from the outside to see if maybe it's being blocked by your ISP?
 
Put FTP port on Windows box back 21
and them inter following

ip nat inside source static tcp x.x.x.x 21 int di1 2121

Now anythink coming to port 2121 will be send to windows box
 
Well, I know that, but I was wondering how to configure two ftp servers on my network without having to VPN and dual boot for two different OS's---I want a Windows FTP server and my UNIX FTP server as well. Thanks for the replies. Also, Voltron, I don't think my ISP blocks any ports, really, but I could see. I thought maybe it could be a PAM issue in the router, which my router supports, so maybe I will try something to that effect. Thanks guys.

Burt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top