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

    Need correct configuration for SSL vHosts

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 819 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.
    • J
      jetberrocal
      last edited by

      I am new to pfSense and Linux.  Please provide detailed answers.

      I installed the vHosts package on my pfSense 2.1.5 RELEASE box.

      I have one WAN with DHCP configuration to the ISP router
      LAN with x.x.x.1 Static IP and OPT1 with x.x.x.3 Static IP on the same subnet

      Computers can ping both IPs In and Out.

      I need to create a vHost wth HTTPS configuration to run on the same pfSense box.  The webGui runs on HTTPS.

      I added the required definitions (Certificate and key) in the vHost create page, but I do not know which port should I use for it to work as HTTPS.

      I tried 443 and user port 8001, but it does not work.  I need the correct port and maybe some Firewall rules.

      If I have to move the webGui to HTTP please advise in detail because I tried to change it on the Advanced Config, but then can not connect.

      1 Reply Last reply Reply Quote 0
      • J
        jetberrocal
        last edited by

        @jetberrocal:

        I am new to pfSense and Linux.  Please provide detailed answers.

        I installed the vHosts package on my pfSense 2.1.5 RELEASE box.

        I have one WAN with DHCP configuration to the ISP router
        LAN with x.x.x.1 Static IP and OPT1 with x.x.x.3 Static IP on the same subnet

        Computers can ping both IPs In and Out.

        I need to create a vHost wth HTTPS configuration to run on the same pfSense box.  The webGui runs on HTTPS.

        I added the required definitions (Certificate and key) in the vHost create page, but I do not know which port should I use for it to work as HTTPS.

        I tried 443 and user port 8001, but it does not work.  I need the correct port and maybe some Firewall rules.

        If I have to move the webGui to HTTP please advise in detail because I tried to change it on the Advanced Config, but then can not connect.

        :-[ I found a way to use HTTP instead of HTTPS with my WebGui.  I needed a firewall rule for my configuration.

        In case someone have similar problem the firewall rule is:
        Allow
        proto IPv4 TCP
        source LAN net
        Port *
        Destination "pfsense IP"
        Port 80 (HTTP)
        Gateway *
        QUeue none
        Squedule "empty"

        Anyway I also change the port from 80 to 9000 for the WebGui, so now I do not need the rule.

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

          @jetberrocal:

          I found a way to use HTTP instead of HTTPS with my WebGui.

          Congrats on digging holes into your firewall. Sigh…  ::)

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