Article delegate-en/3151 of [1-5105] 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

Re: ftp proxy
09 Mar 2006 15:52:20 GMT     "Richard Daggett" <pjmgabdyi-x2g4sda5v6p6.ml@delegate.org>

Howdy Yataka

 Thanks for the info, but what I need is the same server routing to
different clients depending on the source address

139.13.16.165 (source) ---> ediftp(198.187.200.11:21) --> 172.16.1.31:21
66.93.152.96 (source)  ---> ediftp(198.187.200.11:21) -->
172.17.1.171:21

 Is this possible?

Richard
-----Original Message-----
From: Yutaka Sato [mailto:feedback@delegate.org] 
Sent: Thursday, March 09, 2006 1:07 AM
To: feedback@delegate.org
Cc: Richard Daggett
Subject: Re: [DeleGate-En:3155] ftp proxy

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]
@_@V