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

    Tried everything port forwarding not working??

    Scheduled Pinned Locked Moved NAT
    42 Posts 4 Posters 5.8k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz

      @djinn1 said in Tried everything port forwarding not working??:

      ab.abc.6.228.56158: Flags [R.],

      So that is where your box your sending too said F OFF!! with a RST [R].. So you need to check with the box your forwarding 8080 to why its not allowing the 8080 connection.

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

      D 1 Reply Last reply Reply Quote 0
      • D
        Djinn1 @johnpoz
        last edited by

        @johnpoz

        So you mean something blocking in my PC?

        1 Reply Last reply Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          192.168.1.100 is REJECTING the connection attempts. You will need to look there.

          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
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            Yes pfsense did exactly what it was told to do it forwarded the traffic to your box behind pfsense.. That device basically told the connection to F OFF!!

            This is the SYN [S]
            ab.abc.6.228.56182 > 192.168.1.100.8080: Flags [S]

            This is start of a tcp connection.. Answer back should of been SA, ie SYN ACK - say sure lets talk.. vs the RST that basically saying GO AWAY I don't want to talk on this 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

            D 1 Reply Last reply Reply Quote 0
            • D
              Djinn1 @johnpoz
              last edited by

              @johnpoz said in Tried everything port forwarding not working??:

              s the RST that basically saying GO AWAY I don't want to talk on this port..

              But i have disable antivirus and windows firewall how can the PC be blocking?

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

                Doesn't have to be blocking - dpending on the OS if the port is not being listen for then it would send back a RST..

                Check on the .100 machine that its actually listening on 8080, simple netstat command will show you what ports are being listened 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.8, 24.11

                D 2 Replies Last reply Reply Quote 0
                • D
                  Djinn1 @johnpoz
                  last edited by

                  @johnpoz I am using windows 10 can you tell me how?

                  1 Reply Last reply Reply Quote 0
                  • D
                    Djinn1 @johnpoz
                    last edited by

                    @johnpoz I forwarded a random port and did a port checker and its saying the same the port is closed?

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

                      go to a cmd prompt and type netstat

                      here is screenshot form my win 10 machine.

                      0_1551294177989_netstat.png

                      Do you see anything listening on port 8080? For tcp?

                      Yeah it would be closed to some random port if there is not something listening on that 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

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        Djinn1 @johnpoz
                        last edited by

                        @johnpoz said in Tried everything port forwarding not working??:

                        Yeah it would be closed to some random port if there is not something listening on that port.

                        No port 8080 in the list

                        1 Reply Last reply Reply Quote 0
                        • DerelictD
                          Derelict LAYER 8 Netgate
                          last edited by Derelict

                          Then of course that computer is going to reject connections to it on port 8080.

                          Probably time to move to support for whatever game you are trying to get working.

                          The port forward has been proven to be doing what it has been instructed to do.

                          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)

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            Djinn1 @Derelict
                            last edited by

                            @derelict Ok, can you explain? So the port 8080 need to be there?

                            So I can test with the package capture to see if pfsense doing its job or not?

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

                              You just did.. Already when through this..

                              You are fowarding 8080 to this 192.168.1.100

                              This on your lan packet captures shows pfsense did its job
                              ab.abc.6.228.56182 > 192.168.1.100.8080: Flags [S]

                              If the machine is not running some software that listens on 8080, then yeah its going to send back a RST - says F OFF!! Nobody here on that port!

                              Which is exactly what we saw in our packet capture. Pfsense is doing exactly what you told it to do.. Forward traffic it sees on its wan dest port tcp 8080, and send to 192.168.1.100... Which isen't even listening on that port.. So NO its never going to work.

                              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
                              • D
                                Djinn1 @Djinn1
                                last edited by

                                @djinn1

                                Aha ok.

                                But the game saying this port is used. Can it be because it does not show up in netstat becuase the game is not running?

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

                                  Yeah your software that listens on 8080 would have to be running for it to be listening..

                                  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

                                  D 1 Reply Last reply Reply Quote 0
                                  • D
                                    Djinn1 @johnpoz
                                    last edited by

                                    @johnpoz then how can I be sure the port forwarding is working if the software is not running?

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

                                      you just DID!!! again your packet capture shows the port forwarding working.

                                      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

                                      D 2 Replies Last reply Reply Quote 0
                                      • D
                                        Djinn1 @johnpoz
                                        last edited by

                                        @johnpoz Yes I unserstand but now I have restored my pfsense and want to test it again everything is working

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          Djinn1 @johnpoz
                                          last edited by

                                          @johnpoz Thank you for all you help.

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