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

Multiple Web Servers

Scheduled Pinned Locked Moved NAT
17 Posts 3 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.
  • V
    viragomann @natethegreat21
    last edited by viragomann Dec 2, 2022, 10:01 PM Dec 2, 2022, 9:59 PM

    @natethegreat21
    I'm not expirenced with TCP mode, I only use https with SSL offloading.
    For http/s offloading mode you need to import your SSL certificates into pfSense.

    Anyway you need a pair of ACL + Action for each backend.
    Each ACL must have a unique name if you configure both in a single frontend, e.g. game, nextcloud.

    In TCP mode the proxy cannot read the host header, so it doesn't know the host name. It could only see the SNI.
    So you might have to uncheck the ACL expression you have to select something like "SNI extension matches" and enter the SAN name of the SSL certificate.

    Also I can't really see how you did the port 80 redirection.

    N 1 Reply Last reply Dec 2, 2022, 11:14 PM Reply Quote 0
    • N
      natethegreat21 @viragomann
      last edited by natethegreat21 Dec 2, 2022, 11:46 PM Dec 2, 2022, 11:14 PM

      @viragomann Im going to change it to offloading. What are you missing for port 80. Does it not makes sense?Yeah so now its saying the site cant provide a secure connection SSL error probably because the certs are not there. Should I just generate new certs or reuse the existing one on the Linux box?

      N V 2 Replies Last reply Dec 2, 2022, 11:26 PM Reply Quote 0
      • N
        natethegreat21 @natethegreat21
        last edited by natethegreat21 Dec 2, 2022, 11:26 PM Dec 2, 2022, 11:26 PM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • V
          viragomann @natethegreat21
          last edited by Dec 3, 2022, 12:20 AM

          @natethegreat21 said in Multiple Web Servers:

          What are you missing for port 80. Does it not makes sense?

          I simply cannot see, how it works from your screenshots.

          Should I just generate new certs or reuse the existing one on the Linux box?

          Sounds like you're using self-signed certificates.
          If so you can generate new one as well, but you can also import existing certificates into pfSense using the cert manager and assign them then in HAproxy.

          N 4 Replies Last reply Dec 3, 2022, 12:29 AM Reply Quote 0
          • N
            natethegreat21 @viragomann
            last edited by Dec 3, 2022, 12:29 AM

            @viragomann I just used Acme and generated some LetsEncrypt certs as well as added them to the DNS on my domain provider. Anything greyed out is my Pubilc IP or the web address.

            1 Reply Last reply Reply Quote 0
            • N
              natethegreat21 @viragomann
              last edited by Dec 3, 2022, 12:38 AM

              @viragomann http3.PNG http2.PNG http1.PNG

              1 Reply Last reply Reply Quote 0
              • N
                natethegreat21 @viragomann
                last edited by Dec 3, 2022, 12:41 AM

                @viragomann Backend 1.PNG

                1 Reply Last reply Reply Quote 0
                • N
                  natethegreat21 @viragomann
                  last edited by Dec 3, 2022, 12:45 AM

                  @viragomann Frontend 3.PNG Frontend 2.PNG Frontend 1.PNG

                  N 1 Reply Last reply Dec 4, 2022, 7:50 PM Reply Quote 0
                  • N
                    natethegreat21 @natethegreat21
                    last edited by Dec 4, 2022, 7:50 PM

                    @natethegreat21 Closing this out and opening a new topic.

                    1 Reply Last reply Reply Quote 0
                    • H
                      hazeltorres
                      last edited by Dec 7, 2022, 5:02 PM

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