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

    Help setting up port forwarding

    Scheduled Pinned Locked Moved NAT
    13 Posts 5 Posters 2.4k 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.
    • H
      harald.rutsch
      last edited by

      Hey i am running pfsens 2.3.2 community edition and i have tryed to forward thes ports : UDP 1500, 3005, 3101, 28960 and TCP: 27015  and i have faild to do so can anyone help

      (I have put an exaple of port 21 in the attachments)

      -thx Harald
      Unbenannt.png
      Unbenannt.png_thumb

      1 Reply Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad
        last edited by

        Have you added a firewall rule on the WAN interface ?

        Your NAT is going nowhere without it.

        Also you don't need the LAN port forward.

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

        1 Reply Last reply Reply Quote 0
        • chpalmerC
          chpalmer
          last edited by

          Get rid of the LAN NAT forward.

          Post a screenshot of your WAN firewall rules.

          Triggering snowflakes one by one..
          Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

          1 Reply Last reply Reply Quote 0
          • H
            harald.rutsch
            last edited by

            @chpalmer:

            Get rid of the LAN NAT forward.

            Post a screenshot of your WAN firewall rules.

            her you ga
            and thx to alle helpers

            ![firefall pfsense.png](/public/imported_attachments/1/firefall pfsense.png)
            ![firefall pfsense.png_thumb](/public/imported_attachments/1/firefall pfsense.png_thumb)

            1 Reply Last reply Reply Quote 0
            • KOMK
              KOM
              last edited by

              In your first post, you list all these ports, yet in your images you only show FTP.  FTP is a special case when it comes to forwarding.  What is it exactly that you are trying to do, and what exactly happened when you tested it?

              1 Reply Last reply Reply Quote 0
              • H
                harald.rutsch
                last edited by

                i have somme applications whitch realay one p2p to function witch is only posible if i have open ports

                1 Reply Last reply Reply Quote 0
                • KOMK
                  KOM
                  last edited by

                  It's usually an easy thing to create a NAT port forward.  The required firewall rule is automatically created for you unless you have told pfSense not to do so.  When testing your forward, you really should use a device on WAN like your mobile phone when it's not on your wifi.  Don't test from LAN or you will potentially run into reflection problems.  Have you gone through the port forward troubleshooting guide?

                  https://doc.pfsense.org/index.php/Port_Forward_Troubleshooting

                  1 Reply Last reply Reply Quote 0
                  • H
                    harald.rutsch
                    last edited by

                    her is a completed version (I test the ports[Whith my telephone] non of the show up as open)

                    Unbenannt2.png
                    Unbenannt2.png_thumb

                    1 Reply Last reply Reply Quote 0
                    • H
                      harald.rutsch
                      last edited by

                      i stil have no ideea how to set porforwarding up help  :(

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

                        Did you read the port forward doc?  Did you look into the troubleshooting doc?

                        https://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense

                        https://doc.pfsense.org/index.php/Port_Forward_Troubleshooting

                        As already mentioned ftp is bit of a odd ball.  There are 2 channels in ftp, control and data - and different modes active and passive.  What exactly are you testing?  FTP or one of those other port forwards?  How are you testing?  go to canyouseeme.org and put in one of the ports.  Does it show open there?  Is pfsense public on its wan, or is it behind a nat?

                        Port forwarding is really 2 seconds, and not really all that different than any soho router.  Post up your wan rules as well.  If your trying to make ftp work then need to know are you clients using active or passive?  And what are you lan rules if the connection is active?  If passive then you would have to forward the passive ports you set your server to use.

                        http://slacksite.com/other/ftp.html

                        Here to help but going to need more info!!  Your posting of your forwards is a good start - but that forward using your lan interface is wrong!

                        Also per the troubleshooting doc - you sure not running firewall on the box your forwarding too, correct IP, etc. 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
                        • H
                          harald.rutsch
                          last edited by

                          thx for the respose but i was just test it whit 21 i realy only need the other ports

                          I am testing my ports by taking my telephone disconecting it from wlan and going on a port testing site

                          1 Reply Last reply Reply Quote 0
                          • H
                            harald.rutsch
                            last edited by

                            her is the firewall

                            -Harald

                            ![fiewalle #.PNG](/public/imported_attachments/1/fiewalle #.PNG)
                            ![fiewalle #.PNG_thumb](/public/imported_attachments/1/fiewalle #.PNG_thumb)

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

                              "it from wlan and going on a port testing site "

                              So your going to a port testing site from your phone??  That wouldn't work - it would be testing your phones IP for those ports ;)

                              So your wan rules show some hits on 21 and 27015..  But no current states - so something hit those rules.. Which could mean where your forwarding is not listening, or firewalled or not even the correct IP.. Or pfsense can not talk to it, etc.

                              Go through the port troubleshooting doc..  All the info needed to figure out what your doing wrong is in there.. It really takes all of couple of minutes to find the problem.  Either the traffic is not even getting to pfsense, or the client is not listening or has its own firewall, not using pfsense as its gateway - or your sending to the wrong IP, 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
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.