*********************************************************************** * Procedure : FTPDEF.CMD * * * * Define two ports for use by FTP clients. * * * * FTPCTL is the control connection * * * * FTPDAT is the data connection * * * * In this example, we explicitly define a single IP address for * * the FTP server. The client programs do not have to specify * * the server IP address for either the control or data connections. * * * *********************************************************************** JANUS NAMESERVER 198.242.244.9 JANUS DOMAIN SIRIUS-SOFTWARE.COM JANUS DRAIN FTPCTL JANUS DELETE FTPCTL * Define a user group and add some authorized users to it. JANUS DELUSG FTPERS JANUS DEFUSG FTPERS userid1 userid2 userid3 userid4 JANUS DEFINE FTPCTL * CLSOCK 5 REMOTE * * * If you want to restrict outgoing connections to a particular * ip address and port, put them right on the define command, like this: *JANUS DEFINE FTPCTL * CLSOCK 5 REMOTE 198.242.244.9 21 JANUS START FTPCTL JANUS CLSOCK FTPCTL ALLOW NONE JANUS CLSOCK FTPCTL ALLOW USGROUP FTPERS JANUS TRACE FTPCTL 8 JANUS DRAIN FTPDAT JANUS DELETE FTPDAT JANUS DEFINE FTPDAT * CLSOCK 5 REMOTE * * JANUS START FTPDAT JANUS CLSOCK FTPDAT ALLOW NONE JANUS CLSOCK FTPDAT ALLOW USER userid1 JANUS TRACE FTPDAT 0