Navigation

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

    HAProxy and Bitwarden_rs Websockets

    HA/CARP/VIPs
    2
    2
    182
    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.
    • C
      clumbo last edited by

      Hi,

      I cannot get bitwarden_rs websocket to work with the following config.

      Can anyone help please?

      Thanks

      frontend private_servers
      	bind			xxx.xxx.xxx.xxx:443 name xxx.xxx.xxx.xxx:443   ssl crt-list /var/etc/haproxy/private_servers.crt_list  
      	mode			http
      	log			global
      	option			http-keep-alive
      	option			forwardfor
      	acl https ssl_fc
      	http-request set-header		X-Forwarded-Proto http if !https
      	http-request set-header		X-Forwarded-Proto https if https
      	timeout client		30000
      	acl			bitwarden_ws	hdr(Connection) -i upgrade
      	acl			bitwarden_ws	hdr(Upgrade) -i websocket
      	acl			bitwarden_ws	var(txn.txnpath) -m str -i /notifications/hub
      	acl			aclcrt_private_servers	var(txn.txnhost) -m reg -i ^([^\.]*)\.domain\.name(:([0-9]){1,5})?$
      	http-request set-var(txn.txnpath) path
      	http-request set-var(txn.txnhost) hdr(host)
      	use_backend bitwarden_ws_ipvANY  if  bitwarden_ws aclcrt_private_servers
      	use_backend bitwarden_ws_ipvANY  if  bitwarden_ws aclcrt_private_servers
      	use_backend bitwarden_ipvANY  if   aclcrt_private_servers
      
      P 1 Reply Last reply Reply Quote 0
      • P
        PiBa @clumbo last edited by

        @clumbo
        The docker didnt listen yet? ( https://forum.netgate.com/topic/159331/haproxy-and-websockets?_=1608750100359 ) or different issue here?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Products

        • Platform Overview
        • TNSR
        • pfSense Plus
        • Appliances

        Services

        • Training
        • Professional Services

        Support

        • Subscription Plans
        • Contact Support
        • Product Lifecycle
        • Documentation

        News

        • Media Coverage
        • Press
        • Events

        Resources

        • Blog
        • FAQ
        • Find a Partner
        • Resource Library
        • Security Information

        Company

        • About Us
        • Careers
        • Partners
        • Contact Us
        • Legal
        Our Mission

        We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

        Subscribe to our Newsletter

        Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

        © 2021 Rubicon Communications, LLC | Privacy Policy