<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1495814403147_2793" dir="ltr">I have a webserver and squid 3.5 running on the same Linux machine.  The webserver is actually part of shellinabox, so it's only for me to access.  Shellinabox simply presents a terminal and login in a web browser.  I want it to be accessible only through squid for more security.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1495814403147_3172"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1495814403147_3255">shellinabox works fine if I access it directly, but through squid I see this in access.log:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1495814403147_3173"><br></div><pre style="margin: 0px; font-family: "DejaVu Sans Mono", "Everson Mono", FreeMono, "Andale Mono", Consolas, monospace; color: rgb(0, 0, 0); font-size: medium; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;" id="yui_3_16_0_ym19_1_1495814403147_3045"><div style="min-height: 19px;" id="yui_3_16_0_ym19_1_1495814403147_3046" dir="ltr"><span id="yui_3_16_0_ym19_1_1495814403147_3067">1495813953.860     79 204.155.22.30 TCP_TUNNEL/200 1440 CONNECT </span><span id="yui_3_16_0_ym19_1_1495814403147_3069">IP:PORT</span><span id="yui_3_16_0_ym19_1_1495814403147_3047"> USER HIER_DIRECT/IP                                                                                                    </span></div><div style="min-height: 19px;" dir="ltr" id="yui_3_16_0_ym19_1_1495814403147_3048"><span id="yui_3_16_0_ym19_1_1495814403147_3049"><br>1495813962.001      0 204.155.22.30 TCP_DENIED/407 4397 CONNECT IP:PORT USER HIER_NONE/- text/html                                     <br><br>I've replaced the real IP, PORT, and USER with those words, however the real PORT is a nonstandard port number.  There are some other posts I found mentioning a 407 error and it was said it occurs when the webpage is asking for authentication.  However I don't understand this, since shellinabox only display a login prompt which I wouldn't think would be a problem.  Another post said a 407 is when squid auth is failing, but I can get to external websites through squid.<br><br>Does it matter that what I'm trying to access is HTTPS instead of HTTP?<br><br><br></span></div></pre></div></body></html>