Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: bbt on February 21, 2004, 02:25:07 AM

Title: Web Connection Error... maybe port forewarding
Post by: bbt on February 21, 2004, 02:25:07 AM
I'm a linux SME server newb, first time using linux as a proxy.. Anyways, whenever I try to connect to this site with the 'https' secure protocal, it displays this error:
Quote

ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: www.outcast-gaming.net:2087

The following error was encountered:

Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Your cache administrator is **admin e-mail**.



--------------------------------------------------------------------------------
Generated Fri, 20 Feb 2004 18:22:36 GMT by **myserver**


however, everything else at that domain works, including cpanel, which connects on the normal http port.... if I try to do secure on cpanel it displays the same error, whereas it should just time out.

however, I can view secure pages if I don't specify a different port... and non-secure port specifications work

If anyone has any ideas, help would be appreciated
Title: Web Connection Error... maybe port forewarding
Post by: mrjhb3 on February 23, 2004, 04:57:52 AM
check you squid.conf in /etc/squid.  Look for the line that reads acl Safe_ports, and add 2087 there.  Then do a service squid restart, and try it again.  You may have to wait a bit for squid to fully restart.  If that works, then create a custom template that adds this port to your squid.conf.  Do a mkdir -p /etc/e-smith/templates-custom/etc/squid/squid.conf, then change to that directory, then cp /etc/e-smith/templates/etc/squid/squid.conf/20ACL15Safe_ports .
Now edit this file and add your port.  Then do a /etc/e-smith/expand-template /etc/squid/squid.conf
Next, service squid restart
That should be it.

GL

JB