[DeleGate-En] Switching ftp-servers based on IP-adresses
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 (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.