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

    Additional ports to forward in HAProxy?

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    1 Posts 1 Posters 207 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.
    • R
      RonRN18
      last edited by

      I have been using HAProxy for some time, but basically it is routing domain web traffic to the proper internal server. In addition to porting the standard HTTPS port 443, what if I wish to also port TCP ports 30000-30050 to a specific machine when coming for a specific domain? The site in question has numerous live video feeds and each feed is given its own port. Because the initial setup only routed traffic on 443, it would not also do the ports in 30000 range.

      I made an educated guess on how to do this, but apparently either it doesn't work or I missed an important step. I first created an alias for this port range. I then created a new frontend on HAProxy with my WAN as the listen address and my alias for the ports. I then created a new backend that pointed to the "address+port" but left port blank, as it wouldn't accept my alias, nor would it accept a range. I then went back to my frontend and directed the domain to use that backend. I am not seeing any errors but it also isn't doing anything when trying to access my system from outside my network.

      If it either can't be done or I'm omitting something important, please advise me, thanks.

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