Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    HAProxy errors when trying to add backend

    Scheduled Pinned Locked Moved Cache/Proxy
    3 Posts 2 Posters 480 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      girkers
      last edited by

      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.4

      Thus 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

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @girkers
        last edited by

        @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.

        G 1 Reply Last reply Reply Quote 0
        • G
          girkers @viragomann
          last edited by

          @viragomann

          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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.