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

Unable To Port Forward

NAT
4
36
3.5k
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
    johnpoz LAYER 8 Global Moderator @Exlow
    last edited by johnpoz Jun 29, 2022, 6:52 PM Jun 29, 2022, 6:51 PM

    @exlow well not ever going to work, since pfsense can not talk to that IP on that port.. That wouldn't matter what your rules or forwards are..

    You need to figure out why that is happening before you worry about your forwarding not working. Service is not listing on the port you think it is? Its not actually running, that device is running a firewall? Its not using pfsense as its gateway.

    Can pfsense even ping that IP?

    login-to-view

    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

    E 1 Reply Last reply Jun 29, 2022, 6:57 PM Reply Quote 0
    • E
      Exlow @johnpoz
      last edited by Exlow Jun 29, 2022, 6:59 PM Jun 29, 2022, 6:57 PM

      @johnpoz I did get a ping on 192.168.1.19, 0% loss. There is a firewall(windows 11) but I have allowed both incoming and outbound traffic for port 25565. "Minecraft" is the name and the rules are at the very top of the first screenshot. alt text

      What do you mean by "Service is not listing on the port you think it is?"? I don't follow you on that question.

      J 1 Reply Last reply Jun 29, 2022, 7:03 PM Reply Quote 0
      • J
        johnpoz LAYER 8 Global Moderator @Exlow
        last edited by Jun 29, 2022, 7:03 PM

        @exlow look on that box with netstat - does it show that port being listened on?

        example

        login-to-view

        That is showing my nas is listening on 32400 on all of its IPs.

        Validate your box is actually listening on that port, if it is and your test fails - then your firewall settings are wrong for allowing access. Or maybe its only listening on loopback 127.0.0.1

        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

        E 1 Reply Last reply Jun 29, 2022, 7:11 PM Reply Quote 0
        • E
          Exlow @johnpoz
          last edited by Jun 29, 2022, 7:11 PM

          @johnpoz
          C:\Users\infin>
          I don't think I'm running the right command. But here's what I got from running netstat
          alt text

          J 1 Reply Last reply Jun 29, 2022, 7:17 PM Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator @Exlow
            last edited by johnpoz Jun 29, 2022, 7:17 PM Jun 29, 2022, 7:17 PM

            @exlow use

            netstat -an

            This will show you listening ports - that is just showing you stuff you have connections too.

            the n of that makes sure it shows number for the ports vs service names

            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

            E 1 Reply Last reply Jun 29, 2022, 7:18 PM Reply Quote 0
            • E
              Exlow @johnpoz
              last edited by Jun 29, 2022, 7:18 PM

              @johnpoz Thanks for that. Heres all the listening ports.

              TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
              TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
              TCP 0.0.0.0:5040 0.0.0.0:0 LISTENING
              TCP 0.0.0.0:7680 0.0.0.0:0 LISTENING
              TCP 0.0.0.0:10801 0.0.0.0:0 LISTENING
              TCP 0.0.0.0:34034 0.0.0.0:0 LISTENING
              TCP 0.0.0.0:49664 0.0.0.0:0 LISTENING
              TCP 0.0.0.0:49665 0.0.0.0:0 LISTENING
              TCP 0.0.0.0:49666 0.0.0.0:0 LISTENING
              TCP 0.0.0.0:49667 0.0.0.0:0 LISTENING
              TCP 0.0.0.0:49668 0.0.0.0:0 LISTENING
              TCP 0.0.0.0:49671 0.0.0.0:0 LISTENING
              TCP 0.0.0.0:49672 0.0.0.0:0 LISTENING
              TCP 0.0.0.0:54288 0.0.0.0:0 LISTENING
              TCP 127.0.0.1:5939 0.0.0.0:0 LISTENING
              TCP 127.0.0.1:6463 0.0.0.0:0 LISTENING
              TCP 127.0.0.1:27060 0.0.0.0:0 LISTENING
              TCP 192.168.1.19:139 0.0.0.0:0 LISTENING

              J 1 Reply Last reply Jun 29, 2022, 7:19 PM Reply Quote 0
              • J
                johnpoz LAYER 8 Global Moderator @Exlow
                last edited by johnpoz Jun 29, 2022, 7:20 PM Jun 29, 2022, 7:19 PM

                @exlow well don't see any 25565 port listening, so no you wouldn't be able to talk to anything on that port.

                Is that the full list?

                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

                E 1 Reply Last reply Jun 29, 2022, 7:21 PM Reply Quote 0
                • E
                  Exlow @johnpoz
                  last edited by Exlow Jun 29, 2022, 7:22 PM Jun 29, 2022, 7:21 PM

                  @johnpoz futher down I've got this but still not 25565 I ran finder on the whole list, No 25565 at all.

                  TCP [::]:135 [::]:0 LISTENING
                  TCP [::]:445 [::]:0 LISTENING
                  TCP [::]:7680 [::]:0 LISTENING
                  TCP [::]:10801 [::]:0 LISTENING
                  TCP [::]:34034 [::]:0 LISTENING
                  TCP [::]:49664 [::]:0 LISTENING
                  TCP [::]:49665 [::]:0 LISTENING
                  TCP [::]:49666 [::]:0 LISTENING
                  TCP [::]:49667 [::]:0 LISTENING
                  TCP [::]:49668 [::]:0 LISTENING
                  TCP [::]:49671 [::]:0 LISTENING
                  TCP [::]:49672 [::]:0 LISTENING
                  TCP [::]:54288 [::]:0 LISTENING
                  TCP [::1]:10801 [::1]:64893 ESTABLISHED
                  TCP [::1]:49670 [::]:0 LISTENING
                  TCP [::1]:64893 [::1]:10801 ESTABLISHED

                  J 1 Reply Last reply Jun 29, 2022, 7:28 PM Reply Quote 0
                  • J
                    johnpoz LAYER 8 Global Moderator @Exlow
                    last edited by johnpoz Jun 29, 2022, 7:29 PM Jun 29, 2022, 7:28 PM

                    @exlow yeah your not listening on that port - so no portforward you setup is ever going to work, since the box isn't listening on the port your trying to forward too.

                    You sure the service that is suppose to listen on that port is actually running?

                    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

                    E 1 Reply Last reply Jun 29, 2022, 7:29 PM Reply Quote 0
                    • E
                      Exlow @johnpoz
                      last edited by Exlow Jun 29, 2022, 8:07 PM Jun 29, 2022, 7:29 PM

                      @johnpoz So use a different port?

                      J 1 Reply Last reply Jun 29, 2022, 7:29 PM Reply Quote 0
                      • J
                        johnpoz LAYER 8 Global Moderator @Exlow
                        last edited by Jun 29, 2022, 7:29 PM

                        @exlow is the service/application you set to listen on that port even running?

                        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

                        E 1 Reply Last reply Jun 29, 2022, 7:48 PM Reply Quote 0
                        • E
                          Exlow @johnpoz
                          last edited by Exlow Jun 29, 2022, 8:08 PM Jun 29, 2022, 7:48 PM

                          @johnpoz nope... I've been at this so long I forgot to start the sever.

                          So the sever is running now. And the port 25565 is listening. The port still is not open. I will re-try the LAN sniff.

                          J 1 Reply Last reply Jun 29, 2022, 7:49 PM Reply Quote 0
                          • J
                            johnpoz LAYER 8 Global Moderator @Exlow
                            last edited by Jun 29, 2022, 7:49 PM

                            @exlow yeah to the port test from pfsense.

                            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

                            E 1 Reply Last reply Jun 29, 2022, 7:51 PM Reply Quote 0
                            • E
                              Exlow @johnpoz
                              last edited by Jun 29, 2022, 7:51 PM

                              @johnpoz Still nothing from https://www.yougetsignal.com when I run a packet capture on the LAN network with 25565 selected.

                              J 1 Reply Last reply Jun 29, 2022, 8:01 PM Reply Quote 0
                              • J
                                johnpoz LAYER 8 Global Moderator @Exlow
                                last edited by Jun 29, 2022, 8:01 PM

                                @exlow does your port test work? from pfsense?

                                Where did you post your port forward and firewall rules - the only thing I saw was outbound nat page.

                                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

                                E 1 Reply Last reply Jun 29, 2022, 8:06 PM Reply Quote 0
                                • E
                                  Exlow @johnpoz
                                  last edited by Jun 29, 2022, 8:06 PM

                                  @johnpoz We've got an open port... I combined TCP/UDP inside the firewall into one rule and checked the port and its open. Only took 3 hours to get to this point. Thank you so much for the help man. I honestly still don't exactly know how changing the two separate Rules into one did anything but its working.

                                  J 1 Reply Last reply Jun 29, 2022, 8:12 PM Reply Quote 0
                                  • J
                                    johnpoz LAYER 8 Global Moderator @Exlow
                                    last edited by Jun 29, 2022, 8:12 PM

                                    @exlow said in Unable To Port Forward:

                                    I honestly still don't exactly know how changing the two separate Rules into one did anything but its working.

                                    Have no idea what rules or firewall rules you had, but those port checkers are only going to test TCP.. They do not test UDP.. You said yourself it wasn't listening even.

                                    But here is a test, and I don't even have anything listening on that port..

                                    My forward, my wan rules, my sniff on lan side

                                    login-to-view

                                    The rule prob had nothing to do with it, since before your service wasn't even listening.

                                    Notice the rule that is on my wan, -- notice where it shows 3/300B this shows the rule was actually evaluated.

                                    If your wan rule that allows the port forward is only every 0/0 then that means its not being evaluated.. When you sniff on the lan side when you do the test.. Pfsense will send the traffic on, as long as it can talk to that IP, be it that IP is listening on that port or not.. As long as pfsense can talk to it, ie it has an mac address via arp it would send the traffic on.

                                    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

                                    E 1 Reply Last reply Jun 29, 2022, 8:21 PM Reply Quote 0
                                    • E
                                      Exlow @johnpoz
                                      last edited by Exlow Jun 29, 2022, 8:24 PM Jun 29, 2022, 8:21 PM

                                      @johnpoz Heres what I've got. alt text

                                      The only odd thing is when I try snuffing the LAN side I still get nothing back from 25565.

                                      J 1 Reply Last reply Jun 29, 2022, 8:30 PM Reply Quote 0
                                      • J
                                        johnpoz LAYER 8 Global Moderator @Exlow
                                        last edited by johnpoz Jun 29, 2022, 8:32 PM Jun 29, 2022, 8:30 PM

                                        @exlow Well then it wouldn't work..

                                        Your either sniffing wrong, you have to select the interface the box is on 192.168.1.19, is that your lan, you show multiple other interfaces.

                                        Again sniffing you prob need to filter for that port.. By default it limits to 100 packets, its quite possible your missing it in your capture by time you start the capture and go and test..

                                        if your sending to it, and you don't get anything back - that also screams firewall on the box, or again not listening.. Maybe the service is crashing..

                                        Here is pfsense roll in this, you forward to IP X, does pfsense have a mac address for that IP, then it forwards the traffic to it - that box actually send an answer, or sending it to pfsense has nothing to do with pfsense.

                                        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
                                        • S
                                          Spottedfezzit
                                          last edited by Jul 2, 2022, 11:26 AM

                                          hello I'm new to this Pfsense thing and I am having trouble as well.

                                          I'm not network savvy like you guys but I'm ok at it. Description about my set up is a PPP0E connection like this:
                                          nbn box >pfsense > switch > to other devices(plex,tvs,PS,PC,etc).
                                          my problem is i cant get any ports to open status.

                                          under:
                                          -Interfaces/WAN i have
                                          *Block private networks and loopback addresses
                                          *Block bogon networks (both ticked)

                                          login-to-view

                                          -System/Advanced/firewall & NAT i have
                                          *Pure NAT Enable
                                          *Enable automatic outbound NAT for Reflection (ticked)

                                          login-to-view

                                          but my NAT Rule for my plex server will not open or any port that i try to create in fact

                                          login-to-view

                                          even this Outbound settings

                                          login-to-view

                                          all i want is for plex media server and PS4 ports to be open.

                                          am i doing something wrong, also if you ask me to do that capture thing, your going to have to walk me though it lol...!!! please help i have been scratching my head at this for days now and hope its an easy fix...!

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