HAProxy errors when trying to add backend
-
I am trying to set up a secure connection between an app on my phone and an internal server so that when my phone is outside the network it can communicate with the internal server.
Firstly, I could not find any documentation on how to set up HAProxy so I am following this video from around the 23minute mark:
Server Load Balancing on pfSense 2.4Thus I go to configure the Backend as the first step, after adding my single sever in the backend details I get this error:
Fatal error: Uncaught Error: Call to undefined method haproxy_utils::is_valid_haproxy_hostname() in /usr/local/www/haproxy/haproxy_pool_edit.php:434 Stack trace: #0 {main} thrown in /usr/local/www/haproxy/haproxy_pool_edit.php on line 434 PHP ERROR: Type: 1, File: /usr/local/www/haproxy/haproxy_pool_edit.php, Line: 434, Message: Uncaught Error: Call to undefined method haproxy_utils::is_valid_haproxy_hostname() in /usr/local/www/haproxy/haproxy_pool_edit.php:434 Stack trace: #0 {main} thrown
I haven't used HAProxy before and thus the first time I am setting it up. If it matters I am running my pfSense instance on VMWare ESXi.
Cheers and thanks for any help with this.
girkers
-
@girkers said in HAProxy errors when trying to add backend:
I am trying to set up a secure connection between an app on my phone and an internal server so that when my phone is outside the network it can communicate with the internal server.
I think, this better should be done via a VPN.
You may use OpenVPN or IPSec, both will work on your phone and on pfSense. -
I was thinking about this overnight and was trying to work out which would be more secure.
Already having an OpenVPN set up just need to put it on my new phone and skip the HAproxy I think.
Cheers and thanks for confirming what I was already thinking.
Girkers