<div dir="ltr">Hi All,<div><br></div><div> I try to connect to my stunnel server, however, only port 443 is working. For other ports are not working.</div><div><br></div><div> Does it mean my company's proxy server is blocking SSL communication on all ports except 443? ( I am a newbie, just assuming stunnel always working with SSL even for 80 port, if I am wrong please point me out, thank you)</div>
<div> </div><div> Is there any other way to bypass the proxy server without SSL communication? Or internal proxy server can always detect tunnel actions if there is non-SSL protocol ? </div><div><br></div><div>below is my configuration file for client side.</div>
<div>/etc/stunnel/stunnel.conf<br></div><div>------------------START--------------------------</div><div>[https1]<div>accept = 80</div><div><div>protocol = connect</div><div>protocolAuthentication = basic</div><div>protocolHost = myvpsserver-ip:80</div>
<div>protocolUsername = myname</div><div>protocolPassword = p@ssw0rd</div><div>connect = company-proxyserver:8080</div></div><div><br></div><div><br></div><div>[https2]</div><div>accept = 443</div><div>protocol = connect</div>
<div>protocolAuthentication = basic</div><div>protocolHost = myvpsserver-ip:443</div><div>protocolUsername = myname</div><div>protocolPassword = p@ssw0rd</div><div>connect = company-proxyserver:8080</div><div><br></div><div>
----------------------------END---------------------------------------------</div><div><br></div><div><div>---------------------------Tunnel PORT 80 -----------------------------</div><div>2013.10.08 14:18:43 LOG7[10601:3078687600]: TCP_NODELAY option set on remote socket</div>
<div>2013.10.08 14:18:43 LOG5[10601:3078687600]: Negotiations for connect (client side) started</div><div>2013.10.08 14:18:43 LOG7[10601:3078687600]: -> CONNECT my-remote-server-ip:80 HTTP/1.1</div><div>2013.10.08 14:18:43 LOG7[10601:3078687600]: -> Host: my-remote-server-ip:80</div>
<div>2013.10.08 14:18:43 LOG7[10601:3078687600]: -> Proxy-Authorization: basic c3VoZW5nOlBAc3N3MHJk</div><div>2013.10.08 14:18:43 LOG7[10601:3078687600]: -> </div><div>2013.10.08 14:18:43 LOG7[10601:3078687600]: <- HTTP/1.1 403 Forbidden</div>
<div>2013.10.08 14:18:43 LOG3[10601:3078687600]: CONNECT request rejected</div><div>2013.10.08 14:18:43 LOG7[10601:3078687600]: <- Cache-Control: no-cache</div><div>2013.10.08 14:18:43 LOG7[10601:3078687600]: <- Pragma: no-cache</div>
<div>2013.10.08 14:18:43 LOG7[10601:3078687600]: <- Content-Type: text/html; charset=utf-8</div><div>2013.10.08 14:18:43 LOG7[10601:3078687600]: <- Proxy-Connection: close</div><div>2013.10.08 14:18:43 LOG7[10601:3078687600]: <- Connection: close</div>
<div>2013.10.08 14:18:43 LOG7[10601:3078687600]: <- Content-Length: 725</div><div>2013.10.08 14:18:43 LOG7[10601:3078687600]: <- </div><div>2013.10.08 14:18:43 LOG5[10601:3078687600]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket</div>
<div><br></div><div><br></div><div>---------------------------Tunnel PORT 443 -----------------------------</div><div>2013.10.08 14:42:00 LOG7[10601:3078687600]: TCP_NODELAY option set on remote socket</div><div>2013.10.08 14:42:00 LOG5[10601:3078687600]: Negotiations for connect (client side) started</div>
<div>2013.10.08 14:42:00 LOG7[10601:3078687600]: -> CONNECT my-remote-server-ip:443 HTTP/1.1</div><div>2013.10.08 14:42:00 LOG7[10601:3078687600]: -> Host: my-remote-server-ip:443</div><div>2013.10.08 14:42:00 LOG7[10601:3078687600]: -> Proxy-Authorization: basic c3VoZW5nOlBAc3N3MHJk</div>
<div>2013.10.08 14:42:00 LOG7[10601:3078687600]: -> </div><div>2013.10.08 14:42:00 LOG7[10601:3078687600]: <- HTTP/1.1 200 Connection established</div><div>2013.10.08 14:42:00 LOG6[10601:3078687600]: CONNECT request accepted</div>
<div>2013.10.08 14:42:00 LOG7[10601:3078687600]: <- </div><div>2013.10.08 14:42:00 LOG5[10601:3078687600]: Protocol negotiations succeeded</div></div><div><br></div>-- <br><div>Thanks & Best Regards,</div>
<div>Su Heng</div>
</div></div>