Koozali.org: home of the SME Server

Port 80

Peter Clinch

Port 80
« on: September 05, 2001, 06:41:07 PM »
I have an e-smith server set up as a mail server, internet proxy  and firewall.  I created the starter web page, intending it for internal use only, but find that I can access it through internet.  Can anyone tell me how to stop external access to Port 80, but leave port 25 open for mail.

Thanks

Pete.

Scott Smith

Re: Port 80
« Reply #1 on: September 05, 2001, 06:47:39 PM »
If you want to still be able to access the e-smith web server from the local network, but not be able to access it from the Internet:

/sbin/e-smith/db configuration setprop httpd-e-smith access private
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot

Or, if you just want to kill of the web server on port 80 completely -- as in, not running at all:

/sbin/e-smith/db configuration setprop httpd-e-smith status disabled
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot

Be advised that if you've linked any custom startup scripts into /etc/rc.d/rc7.d that they will be blown away by the post-upgrade event. Either relocate them (just the custom ones) prior to post-upgrade and restore them before the reboot, or just recreate them after the post-upgrade and then reboot.

Scott

Peter Clinch

Re: Port 80
« Reply #2 on: September 07, 2001, 06:00:27 AM »
Thanks Scott.  I really appreciate all of the help that users of this forum provide.

Pete.