Forum Discussion

Robert_Roman_14's avatar
Robert_Roman_14
Icon for Nimbostratus rankNimbostratus
Apr 10, 2014

New URL's wanting to be created

Ok after beating my head against a wall with no luck, I am going to put my question on here to see if anyone has a recommendation on if this can even be done.

 

I have a request for vcc-demo.company.com This is how the redirections need to happen: 1. A https(443) request comes in -> gets redirected to server1 port 443 2. A tcp request comes in for port 1935 -> it is redirected to server2 port 1935 3. A tcp request comes in for port 9292 -> it is redirected to server3 port 9292 4. A tcp request comes in for port 5080 -> it is redirected to server2 port 5080 5. A UDP request comes in for ports 31000-32000 -> it is redirected to server2 ports 31000-32000

 

This is a multilayered request: Port TCP 1935 does audio and video, Port TCP 5080 does audio, and UDP 31000-32000 does audio.

 

4 Replies

  • Do you actually want to perform HTTP redirects for all of these, or do you just want to route traffic to certain destinations based on protocol and port?

     

    If the latter, I'd recommend you just setup virtual servers (all with the same VIP) listening on your desired different ports, and apply the proper pools containing the destinations you want to send the traffic. For example:

     

    Virtual server listening on TCP port 443 -> pool with member server1 listening on 443 Virtual server listening on TCP port 1935 -> pool with member server2 listening on 1935 Virtual server listening on TCP port 9292 -> pool with member server3 listening on 9292 Virtual server listening on TCP port 5080 -> pool with member server2 listening on 5080 Virtual server listening on UDP all ports -> pool with member server2 listening on all service ports

     

    • Robert_Roman_14's avatar
      Robert_Roman_14
      Icon for Nimbostratus rankNimbostratus
      More to direct traffic to the appropriate servers. This is for a virtual care collaborator where doctors connect to a computer with a microphone and headphones and a camera and can have a video conference with another doctor at another hospital. As long as they can go to the URL it will open the website but we want to direct the traffic to certain servers to handle the differing traffic.
    • Robert_Roman_14's avatar
      Robert_Roman_14
      Icon for Nimbostratus rankNimbostratus
      However, when they access https://vcc-demo.company.com -that does perform an http redirect to server 4. I dont know if that adds into the equation much more or any
    • Cory_50405's avatar
      Cory_50405
      Icon for Noctilucent rankNoctilucent
      What I've specified above should work for you, but I have a question about your server4. If you're going to redirect to that host, it'll need to have an FQDN to specify in the HTTP 302. Is there a FQDN setup for this redirect already?