I'm not sure what is the correct term to use and I don't know what tools should I use. The only thing I have is a goal which I'd like to accomplish.
I have two linux machines(A and B) and a remote service. The service is listening on port 16000. The outgoing connection from machine A on port 16000 is blocked by a firewall, but on B it is not. I need to access the service from the A. So it will probably need to be routed(correct term?) throught the B. I cannot modify the program which is accessing the service(so it will always try on port 16000).
I know there are a lot of tutorials on similar topics, but I don't know which one should I follow, because there are apparently many possibilites. I have full access to both machines. I'm a simple developer, not a Linux admin, but this is really a blocker for me:( What is the best way to accomplish that? What should I execute on machine A and on machine B?