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

    Port forwarding set, port still closed

    Scheduled Pinned Locked Moved NAT
    17 Posts 3 Posters 1.2k 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.
    • O
      Octopuss
      last edited by Octopuss

      I have a small home server that also acts as a torrent seedbox, but I also run torrent client on my PC.
      I have created port forwarding rules for both machines, but only the port related to the server reports as opened. I don't get it. And yes, I tested this with torrent client running on my PC.
      This is the rule.
      a3bbf044-d552-44fc-9385-c65692a50392-image.png

      Can anyone figure out what's wrong?
      The rule should be correct, because if I disable it for the server, port 9000 shows as closed.

      edit: just for the record, no rules related to my PC seem to work at all. I think they did in past when I created them. And yes, I do use correct IP address of my PC in the rules (static IP from DHCP).

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

        @Octopuss

        This rule (example)

        77cab85a-689c-435b-92e5-ca1234b57b75-image.png

        is the address translation part.

        The second part of the rule is visible on that WAN interface : for example :

        600fbe03-f313-4815-a7d2-b5b91e13975b-image.png

        The "0/2.34 Gb" in my example means : right now, no states open, and 2,34 GBytes of traffic was passed.

        If you see a 0/0 then you k,ow that traffic never reached the WAN port of pfSense.

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

        O 1 Reply Last reply Reply Quote 0
        • O
          Octopuss @Gertjan
          last edited by

          @Gertjan Ok, so it works (I rebooted pfSense and started a torrent and the states column started to show numbers), but the port still reports as closed. I presume qbittorrent somehow manages to connect anyway.
          The puzzling part is the server has the port opened and it reacts to the port forward rule while the local instance doesn't.

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

            @Octopuss said in Port forwarding set, port still closed:

            while the local instance doesn't.

            The local instance is on the 192.168.1.x network (LAN).
            The seeder is on the 192.168.2.x network.

            So, the local instance should use 192.168.168.2.6 as the "host name" (the server ?)
            and
            you should have a firewall rule on the 192.168.1.x network that permits traffic going to the 192.168.2.x interface.

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

            O 1 Reply Last reply Reply Quote 0
            • O
              Octopuss @Gertjan
              last edited by Octopuss

              @Gertjan No, you don't get it. Those are two completely separate torrent clients that run in the home network. They are completely unrelated, content-wise. The problem I'm talking about is the seedboxes port is showing as open (from one of those port checker websites) while the client I run on my own PC does not.

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

                @Octopuss

                The WAN firewall (NAT) rules ?
                Did traffic come into the WAN ?
                Is traffic accepted by the firewall of the PC ?

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

                O GertjanG 2 Replies Last reply Reply Quote 0
                • O
                  Octopuss @Gertjan
                  last edited by

                  @Gertjan I don't understand the question.
                  Try different wording please. I know nothing about networking except for a few terms.

                  Bob.DigB 1 Reply Last reply Reply Quote 0
                  • Bob.DigB
                    Bob.Dig LAYER 8 @Octopuss
                    last edited by Bob.Dig

                    @Octopuss Try to enable NAT Reflection mode for port forwards in pfSense.

                    O 1 Reply Last reply Reply Quote 0
                    • O
                      Octopuss @Bob.Dig
                      last edited by Octopuss

                      @Bob-Dig I vaguely remember this mentioned elsewhere. BUT I am absolutely certain I never changed this and I know for a fact both ports were open. The only thing I have changed in the past year is updating from pfSense 2.6.x to 2.7

                      edit: flipped it to enabled, rebooted just to be safe, and the port for my machine is still closed.

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

                        @Gertjan said in Port forwarding set, port still closed:

                        The WAN firewall (NAT) rules ?

                        You've shown the two NAT rules.
                        With every NAT rule, there is also a corresponding firewall rule, typically on the WAN interface.
                        Show that firewall rule... !?

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

                        O 1 Reply Last reply Reply Quote 0
                        • O
                          Octopuss @Octopuss
                          last edited by

                          Also, it's not that anything isn't working, quite the opposite:
                          0f89c00f-27da-4cf7-bca1-6485c8305a1f-image.png

                          But from what I remember, if port a torrent client is running on is not opened to the outside, no direct connections can be made, and the amount of seeders or leechers is limited. Bittorrent has some tech that makes it running regardless, but... you know.
                          Plus I know it used to work and I didn't change anything, so WTF is going on? And on top of that, it only doesn't "work" for my own PC, not the server. I'm just puzzled.

                          1 Reply Last reply Reply Quote 0
                          • O
                            Octopuss @Gertjan
                            last edited by Octopuss

                            @Gertjan I can't post here anymore because something is flagging it as spam.
                            edit: ok, finally
                            7db878b2-16e8-4bd1-9f1f-5feaa516bcdd-image.png

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

                              @Octopuss

                              Ok : good :

                              Both are receiving traffic :

                              df401d31-8038-4e93-83de-70abd5df2fb1-image.png

                              A boat load of states, like the good old torrent uses to have.

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

                              O 1 Reply Last reply Reply Quote 0
                              • O
                                Octopuss @Gertjan
                                last edited by

                                @Gertjan Yup, but why the heck this...
                                d007e4aa-fe11-43b6-8dde-e36db87b1f37-image.png

                                Bob.DigB 1 Reply Last reply Reply Quote 0
                                • Bob.DigB
                                  Bob.Dig LAYER 8 @Octopuss
                                  last edited by Bob.Dig

                                  @Octopuss Many (or any) port checkers can only do TCP. But in your log you should see the connection from that site.

                                  O 1 Reply Last reply Reply Quote 0
                                  • O
                                    Octopuss @Bob.Dig
                                    last edited by

                                    @Bob-Dig Fair enough, but why is the server's port open when it uses exactly the same bittorrent client with the same configuration? (TCP+UDP).

                                    O 1 Reply Last reply Reply Quote 0
                                    • O
                                      Octopuss @Octopuss
                                      last edited by

                                      @Octopuss Ha, problem identified: ESET Smart Security's firewall. I have no idea what it does, but it blocks this. I forgot the software had actual firewall in it. Now I have to dig into the settings, bleh.

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