Article delegate-en/3149 of [1-5107] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:]  
Re: ftp proxy
Thu, 09 Mar 2006     Yutaka Sato

In message  on 03/09/06(02:53:15)
you "Richard Daggett" wrote:
 | I am trying to configure delegate to route off the permit list instead
 |of a dedicated server.  I have search the groups and looked at the
 |manual, but I do not see a how to do this.
 | 
 | Looks like it could be done with the ROUTE or MOUNT options, but seem
 |to have issues getting this to work.

PERMIT is a parameter just to control access permission.
If what you need is switching the target server depending on the
client, it can be like this:

  SERVER="ftp://server1:-:clientList1"
  SERVER="ftp://server2:-:clientList2"
  ...

for example:

  SERVER="ftp://4.3.2.1:-:192.168.1.1"
  SERVER="ftp://4.3.2.2:-:192.168.1.2"
  ...

 |delegate.conf:
 | 
 |# SERVER IP & PORT DELEGATE SHOULD START ON
 |-P198.187.200.11:21
 |# SERVER IP FOR EXCLUSIVE CONNECTION
 |SERVER=ftp://172.16.1.31:21
 |# HERE IS WHERE ITS COOL! PERMIT ONLY "X" TO CONNECT TO "X"
 |SRCIF="*:*:ftp-data-pasv"
 |SRCIF="*:20:ftp-data-src"
 |PERMIT=+=/usr/local/delegate/conf/permit.list
 |# LOGDIR
 |LOGDIR=/var/log
 |LOGFILE=del.log
 |ERRORLOG=del_error.log
 | 
 |permit.list:
 |ftp:172.17.1.171:130.13.16.165
 |ftp:172.16.1.31:66.93.152.96


Cheers,
Yutaka
--
  D G   Yutaka Sato http://delegate.org/y.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
  search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
Generated:10/22 10:35:52 (1 sec) Expires:10/22 10:35:51 @_@V