LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-04-2005, 08:53 PM   #1
mitt
LQ Newbie
 
Registered: Apr 2005
Posts: 8

Rep: Reputation: 0
Forward FTP Requests


I have one public IP and three linux servers behind a linksys router. What I am needing is to have port 21 forwarded to each server behind the router. I have setup something similar for HTTP. One of the three servers acts as a primary and accepts everything from port 80, then determines the destination from the domain name. I need something similar for FTP. I would switch ports but my ISP will only allow port 21 to be open for FTP. I can assign a domain specifically for FTP if I have to so thats not a problem. I just need to have my FTP login viewed from a domain level not an IP it seems. Can it be done? I have searched around the web but have not found much on this. If somebody has any suggestions or can refer me to somewhere please do. I am not quite a noobie but I am no expert when it comes to linux and am in need of some help
 
Old 04-04-2005, 09:13 PM   #2
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
what you really need is three public IP's, or a VPN. You could also set ssh to run on 21 and use it to forward ports.
 
Old 04-04-2005, 09:22 PM   #3
mitt
LQ Newbie
 
Registered: Apr 2005
Posts: 8

Original Poster
Rep: Reputation: 0
First, 3 public IP addresses are out of the question. Second I have never setup a VPN. And third, I have never seen how to forward ports using ssh and how would I use ssh to access the server instead of telnet?
 
Old 04-04-2005, 09:38 PM   #4
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
first thing: google is your friend
second thing: there are many howto's for forwaring ports via ssh, you can find then on google
vpns aren't particualrly easy, but can be used.

It might be helpful to let us know what you're trying to do with this setup exactly.
 
Old 04-04-2005, 09:49 PM   #5
mitt
LQ Newbie
 
Registered: Apr 2005
Posts: 8

Original Poster
Rep: Reputation: 0
A buddy and I have a development web servers that sit at my place on my Internet connection. My buddy lives in a different state and connects back to the development server to upload and test web sites/scripts before going live. I have a guy who lives in a different town that needs to upload work. We have multiple servers because we have different production servers we are emulating. One of us uses apache 1.3 with php4 and one has one with php5 and then we have a php5 with apache 2. I have setup the http to direct the request to the correct server using apache but my ISP will only open up port 21 for my ftp. So I need to be able to access one of three servers to upload content depending on who is logging in and for which server.
 
Old 04-06-2005, 06:56 AM   #6
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
You're definitely going to need to set up a vpn. what sort of client OS's ar eyou using?
 
Old 04-06-2005, 03:57 PM   #7
mitt
LQ Newbie
 
Registered: Apr 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Windows XP Pro and Windows 2000
 
Old 04-08-2005, 10:11 AM   #8
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
http://poptop.sourceforge.net/ is the linux vpn server for windows clients, you can probably tweak it to name things based on username, or hostname.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Forward to another ftp-server with pure-ftpd didi86 Linux - Software 0 12-20-2004 12:55 PM
Apache, forward requests to a vmware virtual machine Hube Linux - Software 2 09-02-2004 09:58 AM
forward all dns requests to one page Moszer Linux - Networking 4 05-25-2004 01:34 PM
Mod_Proxy (Apache) won't forward requests bentman78 Linux - Software 1 04-20-2004 08:49 AM
Port forward ftp to windoz server (lan) dulaus Linux - Networking 6 06-11-2003 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration