# Load balancing

**URL:** <https://forum.pritunl.com/t/load-balancing/333>\
**Category:** Pritunl Zero\
**Created:** [August 26, 2022, 5:55pm UTC](https://forum.pritunl.com/t/load-balancing/333 "2022-08-26T17:55:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas](https://forum.pritunl.com/user_avatar/forum.pritunl.com/nicolas/32/27_2.png) [@Nicolas](https://forum.pritunl.com/u/Nicolas)\
**Post date:** [August 26, 2022, 5:55pm UTC](https://forum.pritunl.com/t/load-balancing/333/1 "2022-08-26T17:55:06Z")

</div>

Hello @zach !  
can pritunl zero node will be able to health check the services to make better forwarding decision in the near futur to enable proper load balancing ?  
Thanks

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [August 26, 2022, 11:00pm UTC](https://forum.pritunl.com/t/load-balancing/333/2 "2022-08-26T23:00:19Z")

</div>

[**Pritunl Cloud**](https://cloud.pritunl.com) has a load balancer with healthchecks, automatic failover and request retrying. This code will eventually be moved to Pritunl Zero with the authentication added. There’s no planned date on when this will happen.

---

<div class="post-metadata">

**Author:** ![Nicolas](https://forum.pritunl.com/user_avatar/forum.pritunl.com/nicolas/32/27_2.png) [@Nicolas](https://forum.pritunl.com/u/Nicolas)\
**Post date:** [August 27, 2022, 12:22am UTC](https://forum.pritunl.com/t/load-balancing/333/3 "2022-08-27T00:22:51Z")

</div>

How will you load balance pritunl zero ui in a multi-cloud architecture ? Using cloudflare load balancing ? Thanks

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [August 27, 2022, 2:26am UTC](https://forum.pritunl.com/t/load-balancing/333/4 "2022-08-27T02:26:12Z")

</div>

The load balancer functionality in Pritunl Zero would handle routing web requests from the Pritunl Zero server to the multiple internal service servers. Pritunl Zero can already function behind a load balancer. Once multiple Pritunl Zero nodes are connected to the same database any load balancer can be configured in front of the Pritunl Zero nodes. In the nodes settings there are options _Forwarded for header_ and _Forwarded proto header_ to set the header names that will provide the end users IP address and protocol.

---

<div class="post-metadata">

**Author:** ![Nicolas](https://forum.pritunl.com/user_avatar/forum.pritunl.com/nicolas/32/27_2.png) [@Nicolas](https://forum.pritunl.com/u/Nicolas)\
**Post date:** [August 27, 2022, 7:26pm UTC](https://forum.pritunl.com/t/load-balancing/333/5 "2022-08-27T19:26:13Z")

</div>

not the answer i was expecting but i understand not giving recommendation and staying neutral !  
also even if we add our self signed root certificate to the pritunl zero host, it will not make use of it for service with https internal load balancer !  
anyway we can add root certificate to pritunl zero services in the futur ?  
thanks

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [August 27, 2022, 9:00pm UTC](https://forum.pritunl.com/t/load-balancing/333/6 "2022-08-27T21:00:23Z")

</div>

Custom root certificates can be added to the trusted certificates on the Linux system. Each Linux distribution has options for doing this.
