NAT or loadbalancer to redirect an endopoint on a VM

%3CLINGO-SUB%20id%3D%22lingo-sub-2138638%22%20slang%3D%22en-US%22%3ENAT%20or%20loadbalancer%20to%20redirect%20an%20endopoint%20on%20a%20VM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2138638%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20an%20azure%20VM%20on%20Ubuntu%20server%20with%20and%20a%20jupyter%20server%20running%20on%20it%20with%20an%20url%20like%20%3A%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fxxx.westeurope.cloudapp.azure.com%3A8888%2Ftree%22%20rel%3D%22nofollow%20noreferrer%20noopener%22%20target%3D%22_blank%22%3Ehttp%3A%2F%2FXXX.westeurope.cloudapp.azure.com%3A8888%2Ftree%3C%2FA%3E%3F%20(I%20have%20opened%20the%20port%208888%20on%20azure).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFrom%20a%20professional%20network%20that%20uses%20a%20proxy%2C%20the%20addresses%20containing%20port%20numbers%20are%20filtered.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20like%20to%20make%20a%20redirection%20so%20that%20my%20target%20address%20would%20be%20%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fxxx.westeurope.cloudapp.azure.com%2Fjupyter%22%20rel%3D%22nofollow%20noreferrer%20noopener%22%20target%3D%22_blank%22%3Ehttp%3A%2F%2FXXX.westeurope.cloudapp.azure.com%2Fjupyter%3C%2FA%3E%3C%2FP%3E%3CP%3Eand%20it%20will%20redirects%20internally%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22http%3A%2F%2Fxxx.westeurope.cloudapp.azure.com%3A8888%2Ftree%22%20rel%3D%22nofollow%20noreferrer%20noopener%22%20target%3D%22_blank%22%3Ehttp%3A%2F%2FXXX.westeurope.cloudapp.azure.com%3A8888%2Ftree%3C%2FA%3E%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20to%20set%20up%20this%20redirection%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Visitor

I have an azure VM on Ubuntu server with and a jupyter server running on it with an url like : http://XXX.westeurope.cloudapp.azure.com:8888/tree? (I have opened the port 8888 on azure).

 

From a professional network that uses a proxy, the addresses containing port numbers are filtered.

 

I would like to make a redirection so that my target address would be :

http://XXX.westeurope.cloudapp.azure.com/jupyter

and it will redirects internally to http://XXX.westeurope.cloudapp.azure.com:8888/tree?

 

How to set up this redirection? Should I use a loadbalancer? a NAT?

0 Replies