I have three systems: my laptop, a login node, and a compute cluster.
The compute cluster does not have internet access. The login node does. If I run my simulation program on the login node, I can connect to its IP address (e.g. 123.123.123.123) from my laptop on port 6789 to receive live simulation data.
What I want to do if forward all traffic from the compute cluster (e.g. internal IP of 10.20.30.40) through 123.123.123.123, all on port 6789.
How can I do that?