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

HA Proxy - Using different backends on the same frontend - GUI Limitation?

Scheduled Pinned Locked Moved Cache/Proxy
2 Posts 1 Posters 1.1k 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.
  • N
    nuno
    last edited by Feb 29, 2016, 11:47 AM

    Hello,

    I have a issue on the gui of haproxy on pfsense.

    I have a functioning configuration of HAproxy with:

    global
    stats socket /tmp/haproxy.socket level admin
    uid 80
    gid 80
    nbproc 1
    chroot /tmp/haproxy_chroot
    daemon

    frontend port-4443
            bind 0.0.0.0:4443
            mode tcp
            tcp-request inspect-delay 5s
            tcp-request content accept if { req.ssl_hello_type 1 }

    # SSL connection
            acl proto_tls req.ssl_hello_type 1
            acl ocserv req.ssl_sni -i ocs.server.com

    use_backend b_ocserv if ocserv
            use_backend b_https if proto_tls

    default_backend b_https

    backend b_https
            mode tcp
            option tcplog
            server https 172.16.0.148:443
            timeout server 2h

    backend b_ocserv
            mode tcp
            option tcplog
            server https 172.16.3.150:443
            timeout server 2h

    However i cannot use the webgui to implement this, for it does not accept on the same frontend reference to two different backends.

    Am i missing something regarding this? Or is it a limitation imposed by the pfsense gui?

    Thanks for a wonderfull product!
    Nuno

    1 Reply Last reply Reply Quote 0
    • N
      nuno
      last edited by Feb 29, 2016, 5:01 PM

      Hello all,

      I've upgraded to the haproxy-devel, and i was able to translate my working config to pfsense webgui format.

      Thanks
      Nuno

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received