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

    Everytime I create a block/reject rule with a specific port, it defaults to any port...

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 5 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.
    • J
      jlroberts
      last edited by

      Everytime I create a rule to block/reject a specific port, whether it be on the WAN, or LAN, after save, on the rules view page, it shows * for the port, when I open the rule, it shows any for the port, and if I re-select the port and save, it continues to say * on the rules view, and when I open, any...

      I am not sure what I am doing wrong, any ideas?

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        Post some screens to show what you're seeing.

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

          alt text

          1 Reply Last reply Reply Quote 0
          • RicoR
            Rico LAYER 8 Rebel Alliance
            last edited by

            from 53 to 53
            not only to 53

            -Rico

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

              Your int he WRONG section... Use the FIRST one!!

              0_1546613292473_setdestport.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
              • RicoR
                Rico LAYER 8 Rebel Alliance
                last edited by

                ...and from the LAN Side i'd Reject not Block.

                -Rico

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

                  0_1546613426040_whatyourdoing.png

                  your rule is saying ANY to port.. Well how is that support to work... Set your dest port on the LEFT side... If you have a rule that is custom from port X to Y then X on left, Y on right, etc.

                  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
                  • NogBadTheBadN
                    NogBadTheBad
                    last edited by

                    It does also clearly state "Specify the destination port or port range for this rule. The "To" field may be left empty if only filtering a single port."

                    Andy

                    1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

                      doh, I thought the from port was the source port for some reason, thank you guys so much for your help

                      NogBadTheBadN 1 Reply Last reply Reply Quote 0
                      • NogBadTheBadN
                        NogBadTheBad @jlroberts
                        last edited by

                        @jlroberts said in Everytime I create a block/reject rule with a specific port, it defaults to any port...:

                        doh, I thought the from port was the source port for some reason, thank you guys so much for your help

                        The clients would pick a random src port and the dst is fixed, as the servers listen on specific ports for the services.

                        Andy

                        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

                          Source port if EVER needed... Which is going to be RARE!!! would be done in the source section under advanced...

                          Source port "almost" always going to be any.

                          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
                          • J
                            jlroberts
                            last edited by

                            Gotcha! Thank you guys!

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