Koozali.org: home of the SME Server

FTP port

JW

FTP port
« on: February 01, 2002, 04:47:59 PM »
Hi,

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

Thankz, JW

Sebastian Hyrwall

Re: FTP port
« Reply #1 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

JW

Re: FTP port
« Reply #2 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????????????

Damien Curtain

Re: FTP port
« Reply #3 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

JW

Re: FTP port
« Reply #4 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