Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: JenzBenz on January 28, 2004, 07:56:58 PM

Title: Changing ports for FTP and Webserver
Post by: JenzBenz on January 28, 2004, 07:56:58 PM
I'm trying to run an ftp and http server with SME. The problem is that my ISP won't allow me to run neither ftp nor http servers.

My plan is to set up the ftp server on port 113, and disable the ident/auth service.
I also want to run the webserver on another port. Doing a portscan i found that port 443 is open through my ISP, but i don't know if something important is already using this port, or how to disable it.

I also want to turn off anonymous access.
Can anyone help me with this?

JenzBenz
Title: Changing ports for FTP and Webserver
Post by: Gizzmo on January 29, 2004, 12:05:31 AM
Search this site, there has been some posts on changing the ftp port, Ive tried to do it, but could never get it to work. I am sure there is a similar write up on changing the HTTP port as well. As far as FTP access, that should all be control in the server manager.
Title: Changing ports for FTP and Webserver
Post by: tape on January 29, 2004, 06:19:23 PM
Quote from: "Gizzmo"
Search this site, there has been some posts on changing the ftp port, Ive tried to do it, but could never get it to work. I am sure there is a similar write up on changing the HTTP port as well. As far as FTP access, that should all be control in the server manager.


sme server conf files are template based, if you change things manually they will be removed after next boot.

You can find all templates under /etc/e-smith/templates/etc/httpd/conf/httpd.conf/
/etc/e-smith/templates/etc/proftpd.conf/

do a grep for "Listen" on the files inside this directory. Afaik proftpd has near same syntax liek Apache so i guess there is an Listen directive also.

After chaning something you have to run /sbin/e-smith/expand-template
to take changes effect.

hth
Anton
Anton

I tried to change this for a test on my sme server some months ago and it worked well.

not sure about ftp, but on yoru httpd you can change the "Listen" directive in your httpd.conf (at the template files).