Article delegate-en/3925 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] Switching ftp-servers based on IP-adresses
09 Feb 2008 07:21:02 GMT <pkuhqbdyi-5vjbuj4i4ilr.ml@ml.delegate.org>

 Hi,

 

I am quite new to delegate and I am just playing around with it to find a solution for a proxy service that handles special requirements.

I am searching for a proxy service that can forward ftp requests based on the client IP-Adress. I tried the following:

 

./delgated -P21 SERVER=ftp MOUNT="/* ftp://192.168.145.93/*" -v

 

and it works fine in my enviroment.  Here is an excerpt of the logging from the console of my linux box:

 

 

ftp_conndata: connected 192.168.152.151:36784->192.168.145.93/192.168.145.93:10043 [18](0.0)

 

Now the question: is it possible to forward ftp connections based on the client ip to certan servers? For example:

 

The first line represents the working one:

 

client 192.168.152.151   to   192.168.145.93

client 192.168.152.152   to   192.168.145.92

client 192.168.152.153   to   192.168.145.92

 

an so ...

 

I appreciate any idea.

 

Thanks

 

Gerd

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V