tinyproxy unable to forward Connect methods
<p>I'm trying to set up a transparent proxy for all types of frames (HTTP, HTTPS), I'm using tinyproxy to do so. I've already set up my router to redirect (using NAT) all incoming and outgoing frames to tinyproxy (which is listening on port 8888).</p>

<p>I tried accessing a HTTPS website (<a href="https://www.google.com/" rel="noreferrer">https://www.google.com/</a>), but I get a SSL connection error. Looking through the tinyproxy logs, I see the following:</p>

<pre><code>CONNECT   Mar 24 23:34:27 [22533]: Connect (file descriptor 11): 128.112.94.38 [128.112.94.38]
CONNECT   Mar 24 23:34:27 [22533]: Request (file descriptor 11): 
WARNING   Mar 24 23:34:27 [22533]: Could not retrieve all the headers from the client
INFO      Mar 24 23:34:27 [22533]: Read request entity of 103 bytes
</code></pre>

<p>The tinyproxy documentation says that as long as I set the following lines in the <code>tinyproxy.conf</code> file, forwarding of Connect frames should work transparently:</p>

<pre><code># ConnectPort: This is a list of ports allowed by tinyproxy when the
# CONNECT method is used.  To disable the CONNECT method altogether, set
# the value to 0.  If no ConnectPort line is found, all ports are
# allowed (which is not very secure.)
#
# The following two ports are used by SSL.
ConnectPort 443
ConnectPort 563
</code></pre>

<p>I've also tried removing all <code>ConnectPort</code> lines to see if that works (it doesn't). Does anyone know why I'm unable to forward HTTPS traffic transparently?</p>