Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Haproxy: how to implement http/2-Support in pfsense

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 3 Posters 3.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.
    • T
      treuss
      last edited by

      Hi there,

      I found an article[1], explaining how to setup haproxy for handling http/2 requests.

      Using another Backend in pfsense and the following lines in my https frontend

      
      bind ... alpn h2,http/1.1 ...
      ...
      use_backend http2 if { ssl_fc_alpn -i h2 }
      
      

      just gave me this error:

      Errors found while starting haproxy
      [ALERT] 217/145506 (76220) : parsing [/var/etc/haproxy_test/haproxy.cfg:105] : 'bind 46.16.79.179:443' : 'alpn' : library does not support TLS ALPN extension
      [ALERT] 217/145506 (76220) : parsing [/var/etc/haproxy_test/haproxy.cfg:173] : error detected while parsing switching rule : unknown fetch method 'ssl_fc_alpn' in ACL expression 'ssl_fc_alpn'.

      Is there any way to configure haproxy in pfsense in order to enable http/2?

      Our Setup:

      • pfSense: 2.3.1-RELEASE-p5

      • haproxy-devel Package 0.49 = haproxy-devel-1.7.d3

      Thanks in advance
      Thomas

      [1]http://m12.io/blog/http-2-with-haproxy-and-nginx-guide

      1 Reply Last reply
      Reply Quote 0
      • B
        baldy
        last edited by

        Hi,

        any news here? did you get it running?

        1 Reply Last reply
        Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          Not supported by currently used openssl version.

          $ openssl version
          OpenSSL 1.0.2k-freebsd  26 Jan 2017
          
          
          1 Reply Last reply
          Reply Quote 0
          • T
            treuss
            last edited by

            Not supported by currently used openssl version.

            @doktornotor is this still true for v.2.4.0 ?

            1 Reply Last reply
            Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              Yes, you can easily check for yourself.

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better đź’—

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy