rana_b 2003/01/20 07:23:01
Modified: ftpserver/src/conf ftp-config.xml
Log:
more configuration params to make it firewall friendly
Revision Changes Path
1.17 +15 -3 jakarta-avalon-apps/ftpserver/src/conf/ftp-config.xml
Index: ftp-config.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-apps/ftpserver/src/conf/ftp-config.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ftp-config.xml 10 Oct 2002 16:07:17 -0000 1.16
+++ ftp-config.xml 20 Jan 2003 15:23:01 -0000 1.17
@@ -42,13 +42,25 @@
<!-- ftp server specific configuration -->
<ftp-server>
- <!-- FTP server address - multihome support
- <ftp-host>127.0.0.1</ftp-host>
+ <!-- Ftp server host name
+ The default host is the localhost. It can be used on a multi-homed host.
+ In Linux the localhost IP is always 127.0.0.1. So specify the actual IP.
+ <self-host>127.0.0.1</self-host>
+ -->
+
+ <!-- Behind firewall, we need real inet address that from ISP
+ <server-host>255.255.255.255</server-host>
-->
<!-- FTP port -->
<ftp-port>21</ftp-port>
+ <!-- Ftp data port numbers to indicate the PASV data ports
+ Default data port is 0 (means any available ports will be used).
+ If the server is behind firewall, these are firewall holes.
+ <data-port-pool>10022,10023,10024,10025,10026,10027,10028,10029</data-port-pool>
+ -->
+
<!-- maximum number of ftp client connections -->
<max-connection>20</max-connection>
@@ -74,7 +86,7 @@
<default-idle-time>300</default-idle-time>
<!-- default user root directory -->
- <default-user-root>/</default-user-root>
+ <default-user-root>../</default-user-root>
</ftp-server>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>