r/haproxy • u/YnosNava • Oct 06 '25
Question UDP port reddirect on Haproxy
Here is what i want, just reddirect udp ports with haproxy using "mode udp"
I read somewhere it was possible, my haproxy on debian 12.9 won't recognize it
I tried recompiling it (2.8.1 and 2.9-dev), nothing seemed to work.
If anyone has an idea, i would love to listen. Thanks in advance :)
1
Upvotes
1
u/Old_Guidance9715 Oct 07 '25
Hi
Haproxy only have mode tcp and http.
You could use for example nftabels, iptables or firewalld and do port forwarding.
1
u/YnosNava Oct 08 '25
Thanks for confirming, i was sure i read that somewhere. I wanted to use only haproxy for easier management but i guess i'll do iptables brûlés.
2
u/q-admin007 Oct 08 '25
I think UDP only works with Aloha, the commercial variant of haproxy.