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

Allowing HTTPS 443 traffic only - not working

Scheduled Pinned Locked Moved Firewalling
13 Posts 4 Posters 1.3k 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.
  • A
    automatted
    last edited by Aug 16, 2019, 2:42 PM

    I have a server on a VLAN that has the default block all rule enabled. I want it to only have FTP access and HTTPS website access.

    Opening port 21 and 1025-* for FTP with a TCP allow rule works great.

    But opening port 443 for HTTPS doesnt allow HTTPS websites to load (browser) or be pinged.

    Is there anything else that needs to be done?

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Aug 16, 2019, 2:55 PM

      @automatted said in Allowing HTTPS 443 traffic only - not working:

      Is there anything else that needs to be done?

      Show us the actual rules. If you were trying to access this box from say your lan with the default any any rules you would be able to access it just fine, as long as it uses pfsense IP in the vlan as its gateway to get back to you.

      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.7.2, 24.11

      A 1 Reply Last reply Aug 16, 2019, 3:00 PM Reply Quote 0
      • A
        automatted @johnpoz
        last edited by Aug 16, 2019, 3:00 PM

        @johnpoz said in Allowing HTTPS 443 traffic only - not working:

        @automatted said in Allowing HTTPS 443 traffic only - not working:

        Is there anything else that needs to be done?

        Show us the actual rules. If you were trying to access this box from say your lan with the default any any rules you would be able to access it just fine, as long as it uses pfsense IP in the vlan as its gateway to get back to you.

        I'm not trying to access the box (I can access it fine through MS RDP 3389 since that port is open as well thats not an issue). the box itself needs to access https websites only but opening port 443 doesnt allow that to work.

        1 Reply Last reply Reply Quote 0
        • K
          KOM
          last edited by Aug 16, 2019, 3:27 PM

          So then look at your firewall log and see what's being blocked on that vlan. Are you blocking DNS as well?

          But opening port 443 for HTTPS doesnt allow HTTPS websites to load (browser) or be pinged.

          Ping aka ICMP:EchoRequest is not a tcp protocol and does not use port 443.

          1 Reply Last reply Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator
            last edited by johnpoz Aug 16, 2019, 3:40 PM Aug 16, 2019, 3:39 PM

            Well you would also need dns to be able to resolve https://www.something.com

            And yeah trying to ping www.something.com not going to work either without icmp being allowed, and being able to resolve it unless your just wanting to ping the IP directly. Then you only need to allow icmp..

            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.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • A
              automatted
              last edited by Aug 18, 2019, 8:20 PM

              Heres a screenshot of the rules on that VLAN and yes I know some are disbaled for now but thats not the issue.

              as you can see I have an allow 443 rule for the IP/alias I want to access HTTPS

              ![alt text](Screen Shot 2019-08-16 at 10.10.44 PM.png image url)

              1 Reply Last reply Reply Quote 0
              • J
                johnpoz LAYER 8 Global Moderator
                last edited by johnpoz Aug 18, 2019, 8:53 PM Aug 18, 2019, 8:50 PM

                And there are ZERO hits on that current rule.. So no rule never triggered... What is in your camserv alias table? Look under diag

                And I guess hitting an IP, and not trying to resolve anything. Since you are not allowing dns when you had hits on your https rule

                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.7.2, 24.11

                A 1 Reply Last reply Aug 18, 2019, 9:01 PM Reply Quote 0
                • A
                  automatted @johnpoz
                  last edited by Aug 18, 2019, 9:01 PM

                  @johnpoz the alias is just one single IP

                  when the alow all rule for that alias is enabled as it is now, HTTPS loads fine. when I disable that rule and enable the port 443 rule - HTTPS does not work

                  so what am I missing? Do I need to do something on the WAN?

                  1 Reply Last reply Reply Quote 0
                  • D
                    Derelict LAYER 8 Netgate
                    last edited by Aug 18, 2019, 9:09 PM

                    Show the rule that DOES NOT work.

                    Show the contents of the alias.

                    Explain exactly where you are testing from, testing to, and exactly how you are testing.

                    Chattanooga, Tennessee, USA
                    A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                    DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                    Do Not Chat For Help! NO_WAN_EGRESS(TM)

                    A 1 Reply Last reply Aug 18, 2019, 10:14 PM Reply Quote 0
                    • J
                      johnpoz LAYER 8 Global Moderator
                      last edited by Aug 18, 2019, 9:10 PM

                      well when you have an ANY rule dns works for starters ;)

                      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.7.2, 24.11

                      A 1 Reply Last reply Aug 18, 2019, 10:16 PM Reply Quote 0
                      • A
                        automatted @Derelict
                        last edited by Aug 18, 2019, 10:14 PM

                        @Derelict said in Allowing HTTPS 443 traffic only - not working:

                        Show the rule that DOES NOT work.

                        Show the contents of the alias.

                        Explain exactly where you are testing from, testing to, and exactly how you are testing.

                        The rule that does not work is shown above, its the 3rd one down.

                        The alias only has one IP of the same VLAN

                        I am testing from the IP in the alias by opening a browser and going to any HTTPS website

                        1 Reply Last reply Reply Quote 0
                        • A
                          automatted @johnpoz
                          last edited by Aug 18, 2019, 10:16 PM

                          @johnpoz said in Allowing HTTPS 443 traffic only - not working:

                          well when you have an ANY rule dns works for starters ;)

                          yes the allow any rule allows https to work, but why does the 443 onlny rule not allow it to work, do I need to allow something else?

                          1 Reply Last reply Reply Quote 0
                          • D
                            Derelict LAYER 8 Netgate
                            last edited by Aug 18, 2019, 10:18 PM

                            DNS is TCP/UDP port 53.

                            Chattanooga, Tennessee, USA
                            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                            Do Not Chat For Help! NO_WAN_EGRESS(TM)

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