I have spent hours reviewing Super/Stack and other sites and I haven't found the answer yet. So, I am going to give it a shot to ask here again. I would point out some partial answers I found in links but they are so convoluted or half answered I think it may make things worse for anyone that reads this.
So far, I have been able to set up an Apache server running on my local PC with a self signed cert. I have my router port forwarding 443 to this server. I also have OpenSSH running on port 22 on my local PC. My goal is:
I want to be able to connect from Putty/WinSCP to my PC on port 22, tunneled through the 443 SSL connection, and to browse via SOCKS as if I am on said PC.
I could try Stunnel, SSHL, HTTPProxy, Httptunnel, Corkscrew client side or whatever someone can clearly explain how to do (or link to a guide) but it must run on Windows.
My preference would be to set up the Apache server (mod_proxy / proxy pass?) to (on its own?) forward the incoming 443 to port 22 for OpenSSH to pick up the connection and SOCKS for browsing.
NOTE: Here is a description of the flow. I can not use a VPN (already on one) and I can't use 443 on SSH because the layer 7 FW sees the SSH protocol and blocks it. Client PC is already on VPN, so no VPN can be used.
Win PcA > Win ServerB running something (Apache/Nginx?) {SSL}
Then while HTTPS is active and encrypted send:
Win PcA > Win ServerB running OpenSSH {SSH} via WinSCP or Putty for SFTP
&
Win PcA > Win ServerB running OpenSSH {SSH} via Putty for SOCKS via Browser
This is for knowledge purposes mostly, but I realize it's for FW punching as well. Since they are all my computers I can install software on the client side if need be, but the best thing would be to have no software except Putty/WinSCP & a browser I can change the proxy port on client side. This way if I ever have to run this from a PC that I do not own, I can most likely get away with putty/WinSCP without raising flags or needing admin rights.
I have heard about Squid and Ngnix for server side as Proxy servers, but currently I have Apache 2.4 running. I could change it I guess. Basically I want to create sort of a Inet browsing (via SOCKS proxy) and file transfer endpoint (via 22 fully hidden in SSL) which I could reach from anywhere, which would not be blocked as long as the network I am on permits SSL connections.
The guides out there to set up Apache and a self signed cert got me this far...now I am stuck with too many options. Thanks for reading.
Edit: There are questions like this out there with no answers, and with confusing answers. But nothing complete to me. Also, I am not sure my question is formatted correctly. New around here.
X(browser) -http/https->X(ssh socks proxy)-ssh->X(apache)-ssl->Y(apache server)-ssh->Y(ssh server)-http/https->internet