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

    Webserver with multiple SSL sites

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 1.4k 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
      NoOneParticular
      last edited by

      I am looking to setup a webserver behind my pfsense box.  I have a /28 assigned and then the ips on the VIP page.  I am assuming I need to now set up a 1:1 NAT and then forward the specific ports (http/https) to the NAT address.  So for 5 sites, I will have 5 vips (public) assigned which match 5 internal ips, 192.168.10.5-10 on the webserver.

      Within apache I will have setup the 5 domains with an instance for both port 80 and 443.  Will this work and be compliant with web browsers and ssl?

      In the past, I would have my webserver outside of the firewall and assign public ips to it, I would prefer to put it behind.

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        If you use host headers config on apache, you can publish it with a singular ip for http.

        If all sites are on the same domain and you have a wildcard certificate, then it will work for https too.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • N
          NoOneParticular
          last edited by

          Ok, awesome.  I'm going to set it up that way.

          I host a few non ssl sites so I can share an ip.  For my ssl site, there is only one at the moment with a wildcard cert, shouldn't be a problem.  I'm more concerned for when I add ssl sites in the future, I'm sure it's easy enough though.

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