I used to use a tool that does exactly this nearly 20 years ago to poke a hole through corporate firewalls, corkscrew[0].
Nice standalone implementation and write up though.
Nice standalone implementation and write up though.
1. you're behind an HTTP proxy, and
2. the HTTP proxy support the CONNECT method
Around 20 years ago I did a short contract which had #1 but not #2. Thankfully, there's a tool for this, too. Of course it requires some set up on the server side: