Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Peter Clinch 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.
-
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
-
Thanks Scott. I really appreciate all of the help that users of this forum provide.
Pete.