Navigation

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

    Port forwarding issue?

    NAT
    4
    6
    912
    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.
    • R
      reilos last edited by

      Hi,

      I'm trying to figure out a port forwarding issue which i can't wrap my head around. I want to port forward port 3070 from WAN to a loacl machine on my OPT1 network.

      My pfsense box is my edge router, since my ISP modem is in bridge mode.

      I'v set the NAT rule:

      and firewall rule:

      Opened inbound ports on the client's firewall:

      And even outbound (which shouldn't be closed anyway, but just to be sure:

      The gateway on the client's machine is set to the pfSense box:

      Now, when i use an external tool like http://www.ipfingerprints.com/portscan.php (i tried several), it's always reported as closed:

      But when i check the firewall log:

      Things seem fine.

      States:

      What am i missing here?

      EDIT: Sorry for creating this post in 3 steps, the "Preview" and "Save" buttons are just too close next to each other. :P

      1 Reply Last reply Reply Quote 0
      • G
        goody1928 last edited by

        I too am having a similar issue.  i have followed every write up out there tried it all i have my modem bridged to the router with all pppoe settings in pfsense and have a great no problem connection just am unable to forward any ports

        1 Reply Last reply Reply Quote 0
        • C
          cmb last edited by

          Rilo: your images are all broken, they 403 from dropbox.

          goody1928: start a new thread describing what you're trying to do, please don't hijack other people's threads.

          for both, the answer is here somewhere: https://doc.pfsense.org/index.php/Port_Forward_Troubleshooting

          1 Reply Last reply Reply Quote 0
          • R
            reilos last edited by

            @cmb:

            Rilo: your images are all broken, they 403 from dropbox.

            Yeah, stupid web version of dropbox doesn't give the correct hotlinks. Should work now.

            @cmb:

            the answer is here somewhere: https://doc.pfsense.org/index.php/Port_Forward_Troubleshooting

            I've read that, therfore i created all the screenshots to verify i checked the suggestions in there.

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

              So clearly pfsense shows its allowing the traffic..  So as per the doc listed - why don you not sniff and validate the traffic actually leaves pfsense interface and sniff on where you forwarding that it actually sees the traffic.. And is it responding..

              5. Use a Packet Capture or tcpdump to see what is happening on the wire.

              According to your state table pfsense sent the syn, but your machine didn't answer..  Sure that machine is actually listening on 3070??  Great you opened the firewall, but if nothing listing never going to work.  Also your outbound rules are wrong dest sure would not be 3070..  That would be the source port of the outbound traffic to who started the conversation with you to 3070.

              That looks to be the built in windows firewall - any sort of 3rd party firewall/security software on that box?  Simple netstat -an will show you what ports are listing on the box..

              example

              C:>netstat -an

              Active Connections

              Proto  Local Address          Foreign Address        State
                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:1025          0.0.0.0:0              LISTENING

              snip

              UDP    0.0.0.0:3052          :
                UDP    0.0.0.0:3389          :
                UDP    0.0.0.0:4500          :

              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
              2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.01

              1 Reply Last reply Reply Quote 0
              • R
                reilos last edited by

                OK, so i finally had some time to dig into this.

                @johnpoz:

                According to your state table pfsense sent the syn, but your machine didn't answer..  Sure that machine is actually listening on 3070??  Great you opened the firewall, but if nothing listing never going to work.

                Oh man, that was it. These port checker websites of course assume there is already some application listening on the specified port. I tried PFPortChecker from Portforward.com (nice little tool btw.) and everything turned out to be working just fine :)

                Thanks for your help!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post