I have a dedicated webserver running CentOS 7 minimal, I am using HaProxy as my edge server and NginX as my internal application server.
What I would like to do, is set up a small admin area for myself, mostly to administer docker containers. I have several browser based tools running on various local ports which are closed by my firewall. I would like to run httpd on such a blocked port, and proxy it somehow blindly to an exposed port, so that Apache may communicate with internal resources on localhost, but responses are proxied to the exposed port just as requests are proxied to Apache's port.
Is this possible?
I tried Kali Linux's httptunnel - but I have realized since I cant just use the server to proxy a single port without a client configured to consume - I guess? In any case when I try:
hts -F localhost:9050 8080
to proxy local 9050 to 8080 (currently open in firewall), I get no response in a browser, just endless loading...
Is there a more obvious way to do this?
P.S. - I would like to not use NginX in any way for this as I want to turn Apache off when I'm not using it, but if that's the only sensible answer then I accept it.