Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: JW on February 01, 2002, 04:47:59 PM

Title: FTP port
Post by: JW on February 01, 2002, 04:47:59 PM
Hi,

How can I change the default FTP port on my E-Smith server?

Thankz, JW
Title: Re: FTP port
Post by: Sebastian Hyrwall on February 02, 2002, 12:39:13 AM
Edit /etc/proftpd.conf and look for a line that says Port 21 then change that to whatever you want
Title: Re: FTP port
Post by: JW on February 02, 2002, 02:02:02 AM
Hi,

I changed port 21 in port 1333 in /etc/proftpd.conf (using the template /etc/e-smith/templates/etc/proftpd.conf/05port) and I did a reboot. After the reboot port 21 is changed in port 1333 in /etc/proftpd.conf. When WS_FTP Pro is connecting to x.x.x.x:1333, I get the message "Connect failure". When I connect to x.x.x.x:21, everything is working????????????
Title: Re: FTP port
Post by: Damien Curtain on February 02, 2002, 02:24:01 AM
JW wrote:
>
> Hi,
>
> I changed port 21 in port 1333 in /etc/proftpd.conf (using
> the template /etc/e-smith/templates/etc/proftpd.conf/05port)
> and I did a reboot. After the reboot port 21 is changed in
> port 1333 in /etc/proftpd.conf. When WS_FTP Pro is connecting
> to x.x.x.x:1333, I get the message "Connect failure". When I
> connect to x.x.x.x:21, everything is working????????????

Its started via inetd right?

Youd have to modify the entry in /etc/xinetd.conf to not use the default service of ftp, but a custom entry with a port = 1333 directive; or else I guess you can (via templates etc.) add an entry to /etc/services called "proftpd    1333/tcp   #custom ftp listen port" and then (via templates etc.) instead of using service ftp { } change the ftp to be proftpd and then expand your templates and restart xinetd with service xinetd restart
--
 Damien
Title: Re: FTP port
Post by: JW on February 04, 2002, 02:44:26 PM
>Its started via inetd right?

>Youd have to modify the entry in /etc/xinetd.conf to not use the default service of >ftp, but a custom entry with a port = 1333 directive; or else I guess you can (via >templates etc.) add an entry to /etc/services called "proftpd 1333/tcp #custom >ftp listen port" and then (via templates etc.) instead of using service ftp { } >change the ftp to be proftpd and then expand your templates and restart xinetd >with service xinetd restart

I made an entry to /etc/services (via templates) called "proftpd 1333/tcp # custom...", but where can I change the ftp to be proftpd (via templates)?

Greetingz, JW