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

    Port Forwarding

    Scheduled Pinned Locked Moved General pfSense Questions
    28 Posts 5 Posters 2.9k 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.
    • N
      no_jah @roryahanan
      last edited by

      @roryahanan

      When I compare my port forward with the images you atatched I see a couple differences

      1. On port forward page I have WAN address instead of WAN net as Destination
      2. On the FW rule page I have any instead of WAN net as Source
      R 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        Source of wan net would only allow IP from the wan net, ie the transit network that connects you to your ISP.. that is NOT the internet.

        Also dest should be your wan address...

        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
        • R
          roryahanan @no_jah
          last edited by

          @no_jah I did in fact make these changes previously and didn't update the reference photos so these are the updated photos

          0_1548853276259_Screenshot 2019-01-30 at 12.59.57.png 0_1548853280597_Screenshot 2019-01-30 at 13.00.15.png

          N 1 Reply Last reply Reply Quote 0
          • N
            no_jah @roryahanan
            last edited by

            @roryahanan

            Just to really be sure you connect from the outside, try to use:
            https://www.yougetsignal.com/tools/open-ports/

            There you enter your wan IP if it's not already picked up, and enter the port you want to check

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

              @no_jah Just tried that0_1548854140111_Screenshot 2019-01-30 at 13.15.36.png

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

                please post your wan rules and screenshot of your port forwards.

                This is drop dead simple to do.. Follow the guide and you will find your issue within a couple of minutes.

                https://www.netgate.com/docs/pfsense/nat/port-forward-troubleshooting.html

                First thing to do if you feel your rules are correct is actually validate the traffic hits your WAN... Its impossible for pfsense to forward something it never gets. If pfsense gets it, then sniff on your lan interface of pfsense - does it send on... If so then problem is in your network or the host your sending it too.. Wrong host? Host firewall.. Host not even listening for that service, 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

                R 1 Reply Last reply Reply Quote 0
                • R
                  roryahanan @johnpoz
                  last edited by

                  @johnpoz Theres the rule. Thanks for the article ill take a look now 0_1548856119667_Screenshot 2019-01-30 at 13.47.30.png

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

                    NO post up your wan Rules!! And your port forwards page..

                    Example - here is mine
                    0_1548857263631_rulesandnats.png

                    For all we know you have a rule above the rule that allows the nat blocking.. Say pfblocker rules for example... Rules are evaluated top down, first rule to trigger wins, no other rules evaluated. So we need to see rules on WAN so can tell if there is something that would block the auto rule that gets created for your nat, 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

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      roryahanan @johnpoz
                      last edited by

                      @johnpoz0_1548857462093_Screenshot 2019-01-30 at 14.09.43.png 0_1548857465425_Screenshot 2019-01-30 at 14.09.37.png

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

                        Wow you actually see hits on your Bogon Rules? See that 636 B... Curious wtf that is... Also have hits on your block rfc1918 rules..

                        I see some hits on your 21 firewall rule... So I would think traffic is getting to your wan... So do a packet captures and validate being sent to your host... You should see the SYN to port 21, if you go to can you see me . org, 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
                        • N
                          no_jah
                          last edited by

                          Could it be that the internal IP of your FTP-server has changed since you set up the port forward?

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            roryahanan @no_jah
                            last edited by

                            @no_jah I checked that earlier just incase

                            N 1 Reply Last reply Reply Quote 0
                            • N
                              no_jah @roryahanan
                              last edited by

                              @roryahanan

                              And no Firewall software blocking incoming connections on the FTP-server computer?

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

                                Do your sniff, diag packet capture on your lan interface... Do you see the syn to your ftp server private IP... If you do not see an answer its not pfsense that is your problem.

                                Here I just setup a port forward for ftp (21) and can you see me shows closed..

                                0_1548858567188_ftpRST.png

                                See how my client on 192.168.2.11 sent a RST... Basically he said to F off ;)

                                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
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.