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

    HA-proxy using multipe port numbers !??

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

      At this moment I use HA-proxy for my websites using separate front- end back-ends for each port number and for separate for IPV4 and IPV6. That works, however that leads to many front and especially back-ends. So I wonder if it is possible to reduce especially the number of back-ends.

      There are settings in both front-ends as back-ends which are port specific or more precise protocol / ssl specific. This is probably a reason not to use front- / back-ends for 'combined purposes' but never the less.

      One of the things not clear to me is the port and ip4/ipv6 behavoir. To be more specific, assume that a package arrive using 'IPV6 and port abc'

      • the front-end will capture the package if it is listening to 'the destination address' and 'the destination port'.
      • however 'the destination port' is NO criteria in the front-end filter section
      • so assume that the front end is listening to lets say port '80', '8080' and port '443' towards the same url
      • they will all be forwarded to the same back-end
      • however port seems no criteria in the back-ends
      • and leaving the port field empty is not accepted
        So I am really lost how this could / should work

      So my actual config does work however:

      • can it be simplified !!??
      • and how is it supposed to work !!??

      Louis
      PS at this moment

      • I 'forward' prt 80 to prt 80 and prt 443 to prt 443 and
      • 'ipv4 to ipv4' just like 'ipv6 to ipv6'
        So this leads to four entities per source <> destination combination
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.