Apps on different ports on ubuntu server - pls advice!



  • (I am sure this was asked a millions of times, and here is my turn to add to it  :) and Happy Mother's Day !)

    I have a local ubuntu machine on my LAN, named "ubuntu-nuc"

    "ubuntu-nuc" has several server type applications running on different ports: ubuntu-nuc:32400; ubuntu-nuc:8080; ubuntu-nuc:5900 etc

    I'd like to simplify a way to access those apps and use something like: plex.ubuntu-nuc; web.ubuntu-nuc; vnc.ubuntu-nuc

    What's the best way to set up this ?

    Thanks in advance for your help !



  • @chudak:

    I am sure this was asked a millions of times

    Yes it was.


  • Netgate

    Probably the HA proxy package. What you want to do is kind of complicated with just one outside IP address.

    HA Proxy's effectiveness will require it knows how to proxy and inspect the protocols in use to obtain what hostname is being connected to on the front end so it can connect it to the correct backend. It can do this for HTTP, HTTPS (using SNI) and maybe some others.

    I highly doubt it will work for VNC.

    You might also look at those protocols and see if there is a well-supported way to use DNS SRV records to get the correct address and port to the clients without having to configure them.



  • @Derelict:

    Probably the HA proxy package. What you want to do is kind of complicated with just one outside IP address.

    HA Proxy's effectiveness will require it knows how to proxy and inspect the protocols in use to obtain what hostname is being connected to on the front end so it can connect it to the correct backend. It can do this for HTTP, HTTPS (using SNI) and maybe some others.

    I highly doubt it will work for VNC.

    You might also look at those protocols and see if there is a well-supported way to use DNS SRV records to get the correct address and port to the clients without having to configure them.

    I don't even understand what all this means  :(  But will look into it

    Any details ?


  • Netgate

    plenty of google terms there.