HA-proxy using multipe port numbers !??
-
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