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

    How to open ports in pfsense 2.5.1 ???

    Scheduled Pinned Locked Moved NAT
    16 Posts 3 Posters 1.5k 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.
    • KOMK
      KOM @firefox
      last edited by

      @firefox Yes. When doing your NAT testing, it's always best to test from outside your network.

      F 1 Reply Last reply Reply Quote 0
      • F
        firefox @KOM
        last edited by

        @kom
        what is NAT testing, ?
        and how do i test it

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

          @firefox Port-forwards are used to allow external clients to reach and use internal services. You have port 5662 forwarded from your WAN to a server at 192.168.1.2. That server is running some service that listens on that port. NAT testing isn't some official term, it just means to test your port-forward to make sure it's working. How to test it? That depends. Amule is a P2P app, so you would have to offer up some unique content from your server and then try to connect to your server from outside your network with an amule client.

          F 1 Reply Last reply Reply Quote 0
          • F
            firefox @KOM
            last edited by

            @kom
            I get a message that the udp ports are closed
            That it's weird that the tcp port is open
            And I made exactly the same settings

            udp.png

            KOMK 1 Reply Last reply Reply Quote 0
            • S
              SundarNET 0
              last edited by

              you have to forward the ports everywhere in your modem to pfsense then from pfsense to device but if you have multiwan then you need a different version of pfsense as port forwarding in version 2.5.1 is broken

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

                @firefox TCP and UDP behave differently. UDP is stateless and you can't test if it's open or closed like you can with TCP.

                @SundarNET-0 That is only the case if his modem is NATing his connection. Since he can see his open TCP port from outside his network, his modem must already be in bridged mode.

                F 1 Reply Last reply Reply Quote 1
                • F
                  firefox @KOM
                  last edited by firefox

                  @kom

                  The modem is in bridge mode
                  Everything works now.

                  udp port Is connects but I get a message that it's behind a firewall

                  Only after 30 seconds does it switch to "connected"

                  Thanks

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

                    @firefox IIRC the aMule docs said something about port 5672 needing to be static.

                    From their FAQ:

                    4672 UDP (outgoing and incoming): Extended eMule protocol, Queue Rating, File Reask Ping, Kad. Kad will be 'firewalled' if NAT (Network Address Translation) remaps this port number.

                    By default pfSense uses dynamic source ports. You will need to create an outbound NAT rule that tells pfSense to use static port when talking to 5672/udp.

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      firefox @KOM
                      last edited by

                      @kom
                      here ?

                      natout.png

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

                        @firefox Well, that's the general area. Are you editing an existing rule or adding a new one? Btw you should select Hybrid mode at the top of the outbound NAT page and then add a new rule.

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          firefox @KOM
                          last edited by

                          @kom

                          like this ?

                          natuu.png

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

                            @firefox Unless you actively use IPv6, I would set Address Family to IPv4 only. For Source, your address should be a /32 since it's just that one client. Source Port could be blank as that will match any traffic from that client going to port 5672. I don't know if aMule always goes 5672<->5672 or if they don't care about your source port as long as it doesn't change (static).

                            F 1 Reply Last reply Reply Quote 1
                            • F
                              firefox @KOM
                              last edited by

                              @kom
                              I added it and there was no change
                              So I deleted it

                              At the moment it works
                              does not bother me to wait another 30 seconds for it to appear that it is "connected"

                              Thanks

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