Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Apps on different ports on ubuntu server - pls advice!

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 399 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • chudakC
      chudak
      last edited by

      (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 !

      1 Reply Last reply Reply Quote 0
      • GrimsonG
        Grimson Banned
        last edited by

        @chudak:

        I am sure this was asked a millions of times

        Yes it was.

        1 Reply Last reply Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          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.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • chudakC
            chudak
            last edited by

            @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 ?

            1 Reply Last reply Reply Quote 0
            • DerelictD
              Derelict LAYER 8 Netgate
              last edited by

              plenty of google terms there.

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.