I have a device ("A) on my network that only serves content via HTTPS, it's not accessible as its behind my router/firewall.
I have another machine ("B"), elsewhere on the internet (fake IP of 44.44.44.44)
I want to be to access the content being served from A from B. I have accepted_keys set up on B for A.
--
I have a basic understanding of SSL/TLS tunneling, but I've never complicated it with HTTPS.
So I start with creating a reverse tunnel from A -> B:
ssh -N -R 8888:localhost:443 [email protected] So at this point, on B, I should be able to access port 8888 as if it were 443 on A?
When I try to hit localhost:8888 on B, I get the following (from link2s)
Bad request! Your browser (or proxy) sent a request that this server could not understand. If you think this is a server error, please contact the webmaster. Error 400 www.example.com Sat Mar 29 22:50:34 2014 Apache/2.2.26 (Unix) PHP/5.5.8 mod_ssl/2.2.26 OpenSSL/1.0.1f DAV/2
While I'm playing with this, I happen to be using Apache, is there a feature I need to enable in its config or something else I need to do?
