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

[DeleGate-En] Re: Switching ftp-servers based on IP-adresses
26 Mar 2008 21:03:59 GMT (Yutaka Sato)
The DeleGate Project


>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="/**" -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> [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   to
>client   to
>client   to

It can be like this:

  SERVER=ftp MOUNT="/** from="
  SERVER=ftp MOUNT="/** from=192.168.162.[152-153]"

or more efficiently like this:


  9 9   Yutaka Sato <>
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

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