There is a machine that only opens port 80 to the outside world, and you can use the mod_proxy_connect proxy to access its port 22; but in this case it becomes the ssh service proxy of any server, which is very unsafe. Is there a way to limit it? I can't seem to find it in the official documentation.
I modified the code myself to achieve -. -
apache2.2/modules/proxy/mod_proxy_connect.c +123