Koozali.org: home of the SME Server

primary web site only accessible by https

SSBN

primary web site only accessible by https
« on: November 05, 2003, 07:54:51 PM »
I was wondering is there a way to make your primary web site only accessible by https. By default it looks like you can use both. http and https.

SSBN

Re: primary web site only accessible by https
« Reply #1 on: November 05, 2003, 07:57:25 PM »
Is there an add-on that would let me block port 80 and just have 445 open. That would do it for only allowing secure access to my web server wouldn’t it.

Nathan Fowler

Re: primary web site only accessible by https
« Reply #2 on: November 05, 2003, 09:44:09 PM »
What version of SME?

Paul Nesbit

Re: primary web site only accessible by https
« Reply #3 on: November 05, 2003, 11:49:34 PM »
SSBN wrote:
>
> I was wondering is there a way to make your primary web site
> only accessible by https. By default it looks like you can
> use both. http and https.

Not with a minor customisation to the firewall script, /etc/rc.d/init.d/masq;  creating any empty AllowHTTP firewall template should negate the affects of the standard template:

# mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/
# touch /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/45AllowHTTP
# /sbin/e-smith/signal-event remoteaccess-update

(Untested.)

HTH,

  Paul

Paul Nesbit

Re: primary web site only accessible by https
« Reply #4 on: November 05, 2003, 11:50:47 PM »
> Not with a minor customisation to the firewall script,

Should read "Not without a minor customisation...".
 

  Paul

SSBN

Re: primary web site only accessible by https
« Reply #5 on: November 06, 2003, 12:50:34 AM »
I am using 5.6. Do any of you know if there are any contribs that will give a web based firewall interface. I looked on contribs.org and found nothing.