# Can I balance the traffic of my firewall with HAproxy?

**URL:** <https://discourse.haproxy.org/t/can-i-balance-the-traffic-of-my-firewall-with-haproxy/3822>\
**Category:** Help!\
**Created:** [May 16, 2019, 9:47am UTC](https://discourse.haproxy.org/t/can-i-balance-the-traffic-of-my-firewall-with-haproxy/3822 "2019-05-16T09:47:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![asir](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@asir](https://discourse.haproxy.org/u/asir)\
**Post date:** [May 16, 2019, 9:47am UTC](https://discourse.haproxy.org/t/can-i-balance-the-traffic-of-my-firewall-with-haproxy/3822/1 "2019-05-16T09:47:33Z")

</div>

Hi,

I’m trying to make a firewall cluster with load balance. I read that haproxy can help me with the load balance. But…I don’t know how to configure correctly.

I have 3 nodes, a frontend and two backends. The backends have the same iptables configuration. I just want to balance all the network traffic to this “nodes”.

That’s possible? or haproxy is not the tool that I need?

Thanks!

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [May 16, 2019, 10:40am UTC](https://discourse.haproxy.org/t/can-i-balance-the-traffic-of-my-firewall-with-haproxy/3822/2 "2019-05-16T10:40:33Z")

</div>

Whats the service/application?

---

<div class="post-metadata">

**Author:** ![asir](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@asir](https://discourse.haproxy.org/u/asir)\
**Post date:** [May 16, 2019, 10:43am UTC](https://discourse.haproxy.org/t/can-i-balance-the-traffic-of-my-firewall-with-haproxy/3822/3 "2019-05-16T10:43:02Z")

</div>

Iptables

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [May 16, 2019, 12:11pm UTC](https://discourse.haproxy.org/t/can-i-balance-the-traffic-of-my-firewall-with-haproxy/3822/4 "2019-05-16T12:11:22Z")

</div>

That’s not what I mean. I mean what services are the users accessing?

---

<div class="post-metadata">

**Author:** ![asir](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@asir](https://discourse.haproxy.org/u/asir)\
**Post date:** [May 23, 2019, 7:03am UTC](https://discourse.haproxy.org/t/can-i-balance-the-traffic-of-my-firewall-with-haproxy/3822/5 "2019-05-23T07:03:32Z")

</div>

Ssh, web and occasionally ftp

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [May 23, 2019, 1:30pm UTC](https://discourse.haproxy.org/t/can-i-balance-the-traffic-of-my-firewall-with-haproxy/3822/6 "2019-05-23T13:30:16Z")

</div>

Haproxy is not a forwarding proxy, but a reverse proxy. I assume you are looking for the former.
