I've encountered multiple applications that don't support SSH tunneling, and that has become an issue when working off-site from our servers.
I have a Raspberry Pi sitting here which is never turned off, and was wondering if it is possible to route certain ports like 9200 (Elasticsearch) and 3306 (mysql) through an SSH tunnel to the remote servers?
I was able to achieve a connection with this command on the Raspberry Pi:
ssh -A -t -N -L 9200:localhost:9200 user@remoteserver
But it refuses to forward packets sent from my computer. It only works if I send packets as
localhost on the Raspberry Pi.
Is there any way to forward the packets, and making this an ssh tunnel proxy server?