On 12/02/2016 06:04 AM, Ugo Bellavance wrote:
> I'd like to know if there is a way to switch from a port forward to a
> server load balancer configuration without downtime.  Can I create
> everything in the load balancer config and then remove the port forward
> at the end?
> 
> v 2.3.2-RELEASE-p1


Using relayd (Services > Load Balancer) or the HAProxy package?

If using relayd, then maybe but probably not. relayd hooks in using NAT
similar to a port forward but it would take precedence. The moment the
frontend is setup it would likely take over the port forward even if you
were not ready. If it all happened to work on the first try, then it
would be fine.

If you're using the haproxy package then that would work fine. It would
bind to the outside address directly but the port forward would bypass
that. After you've tested it from the inside you could disable the port
forward and it would take over from there.

Given the choice between the two, I would always take HAProxy.

Jim
_______________________________________________
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Reply via email to