[nzlug] FTP Reverse Proxy

Shane shane at weasel.is-a-geek.net
Sat Sep 30 19:12:51 NZST 2006


On Saturday 30 September 2006 18:54, Daniel Faulknor wrote:
> Hi Everyone,
>
> I run a few vmware servers here for different people, and im wondering
> if anyone would be able to point me in the right direction in regards to
> how to "reverse proxy" FTP.
> so that users get pointed at a different server, depending on what host
> they are trying to access.
> Im thinking of something like apache reverse proxy
>
> Cheers
> Daniel
>


I put "Load balancing" into google  and got something that looks promising
http://www.linux-vs.org/Documents.html
Old documents

Robert Thomas provided the Greased Turkey document about how to setup a 
load-sharing server. Thank Rob! This document covers the basics of what 
virtual server is, how it works, and how to set it up, which are explained in 
details via his virtual proxy server. It is to expand to cover a decent man 
(8) page, and a FAQ. By the way, the virtual server can be used for ftp 
service.

http://www.linux-vs.org/GreasedTurkey.html
(linked to from above)
2: What does it do?

ippvs is a kernel modification that offers a NAT-style load sharing for 
multiple virtual servers. What we mean by this is that you have 
one 'listening' machine, that transparently (and incredibly quickly) redirect 
clients connection requests to other machines. The advantages of doing this 
is that it allows you to have huge arrays of redundant and load sharing 
servers.
A good example of this (and the example that we will be following through this 
entire document) is the setting up of a cluster of load-sharing proxy 
servers, at a very, very, low cost-per-tps rate. It's also perfectly suited 
to serving normal web traffic, or allmost anything that can be served over 
TCP or UDP. The only caveat is that it will NOT work with ftp services, 
because ftp services are too smart for their own good. [quick overview of how 
ftpd tells the client which ip and port to connect to, and how that will 
break the NAT]

Although in one page they say it works for ftp, and on another they say it 
wont!
Still.. if you have time to kill it might be worth investigating




More information about the NZLUG mailing list