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

    How to permit a new HTTPS port

    Scheduled Pinned Locked Moved General pfSense Questions
    15 Posts 4 Posters 1.0k 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.
    • GertjanG
      Gertjan @LotfiDZ
      last edited by

      Ah ... this is new :
      @lotfidz said in How to permit a new HTTPS port:

      The second one is disabled, because i cannot permit anyone to go Internet.

      I would start with this :
      0_1538643139666_c7fe9a0f-8d4a-47f5-8da5-df51196db96f-image.png

      1.2.3.4 is the IP of your URL.
      Yous should grant access to DNS, otherwise the 'URL' will never get resolved to 'IP'.
      You can't filter for "https" : that's something that IN the packets, pfSense doesn't look at the data - which is scrambled anyway because SSL. Use IP + port number.

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      1 Reply Last reply Reply Quote 0
      • L
        LotfiDZ
        last edited by

        Hello, And thank you for your time.
        For DNS, i cannot change it. Because i have already an Active directory Domain.
        For the rule:
        0_1538649112932_8173.JPG
        For the error message:
        0_1538649160080_ie-error.JPG
        Thank you for your help.

        GertjanG 1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by johnpoz

          Your rules do not allow your client to lookup selfservice.stanly.edu so how would they ever talk to that IP on port 8173.. You can just allow clients to that port, but they also need to be able to lookup that FQDN IP..

          Which in turn is just a cname anyway for another FQDN
          ;; ANSWER SECTION:
          selfservice.stanly.edu. 3600 IN CNAME ss-prod.stanly.edu.
          ss-prod.stanly.edu. 3600 IN A 152.27.54.108

          Where do these clients point for dns? If they point to pfsense IP then you need to allow the clients to talk to pfsense IP on udp/tcp 53.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @LotfiDZ
            last edited by Gertjan

            @lotfidz said in How to permit a new HTTPS port:

            Hello, And thank you for your time.
            For DNS, i cannot change it. Because i have already an Active directory Domain.
            For the rule:
            0_1538649112932_8173.JPG
            For the error message:
            0_1538649160080_ie-error.JPG

            You can not ask your clients to resolve selfservice.s***.edu and the also say that you can't "change DNS".
            If clients (device on LAN) can't resolve then the show stops.
            Clients have - at a minimum, resolve URL's.
            Or, just use IP addresses like https://152.2x.54.108:8173 and your good.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            johnpozJ 1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator @Gertjan
              last edited by johnpoz

              @gertjan said in How to permit a new HTTPS port:

              Or, just use IP addresses like https://152.2x.54.108:8173 and your good.

              Not always - if the site does not answer to IP, and if https unless the IP is listed in the SAN then they will get an error that will just confuse them shit out of them even more ;)

              That is points to cname screams there are going to be multiple sites hosted off that IP - that you would get the actual page you want by hitting the IP directly would be unlikely..

              Just like I thought ;)

              0_1538666646777_useofIP.png

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan
                last edited by

                Yep, the IP should be part of the SAN (the certicate on the selfservi****.edu site).

                Ok, then make your DNS work !

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  Exactly - if your clients point to your AD for dns, why does it not resolve it? You could just put in a record for that FQDN if you so desired pointing to that IP in the AD dns.. Like a host override in pfsense.

                  If your client can not resolve this fqdn, then they would never hit the firewall with the dest IP and port..

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  1 Reply Last reply Reply Quote 0
                  • L
                    LotfiDZ
                    last edited by

                    Hello, and thank you for your help.
                    When i was in TMG, i'd do it like the screenshot bellow.
                    I want to do the same in pfSense.
                    For DNS resolution, it's working fine (tested access in the old firewall and it's working).
                    Still looking for your valuable help.
                    Thank you
                    0_1538896897592_4050db74-f534-4a9b-885c-5520ad483dbf-image.png

                    1 Reply Last reply Reply Quote 0
                    • Z
                      zacha
                      last edited by

                      it is a squid setting, you are searching for I assume. your screenshot looks like a squid error message, so I assume you are using the squid proxy. Is this a transparent proxy or explicit? you have to allow port 8173 in squid as ssl port.

                      squid -> acls > ACL SSLPorts

                      hth

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        LotfiDZ @zacha
                        last edited by

                        @zacha
                        Thank you! you're a Hero!! Your solution helped me. And i confess, i've already seen it!

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