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

    [Solved]Newbie can't forward port

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    6 Posts 4 Posters 1.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.
    • D
      dynaguy
      last edited by

      I try to forward port 22 on the WAN so I can access one of my server. I followed the instruction on:
      http://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense%3F

      When I test the port forwarding and it doesn't work. All I did was go to Firewall/NAT/Port Forward and add a rule. What I did wrong?

      Please help, thanks a lot!
      Screenshot-2.png
      Screenshot-2.png_thumb
      Screenshot-1.png
      Screenshot-1.png_thumb

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        How do you test this?
        From inside your network?
        This wouldn't work without enabling NAT reflection.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • D
          dynaguy
          last edited by

          I tested from out side of the WAN. (I VPNed to a branch office, and try to ssh back)

          Now I changed "NAT reflection" to "enabled", and still no luck. :'(

          I noticed that it also created a filter rule. I attach a screen shot here.

          Screenshot.png
          Screenshot.png_thumb

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

            Your config is correct. Probably one of 2 through 5 here, though check them all (short of 1 and 6 which aren't the case).
            http://doc.pfsense.org/index.php/Port_Forward_Troubleshooting

            1 Reply Last reply Reply Quote 0
            • A
              adrianhensler
              last edited by

              @dynaguy:

              I tested from out side of the WAN. (I VPNed to a branch office, and try to ssh back)

              Could the problem be the above?  Not trying to point out the obvious, but it's possibly blocked there.  Doesn't explain the internal test with refection on though.

              Since I'm pointing out the obvious, I'll mention other possibilities that have tripped me up before:

              Managed switch perhaps, any strange configuration on the port? Another possibility.

              Firewall rule on the ssh host?

              Can you try forwarding a different port, say port 80 just for testing?

              1 Reply Last reply Reply Quote 0
              • D
                dynaguy
                last edited by

                @cmb:

                Your config is correct. Probably one of 2 through 5 here, though check them all (short of 1 and 6 which aren't the case).
                http://doc.pfsense.org/index.php/Port_Forward_Troubleshooting

                Thank you, cmb.

                I finally got it work!

                The problem I had was "3. Client machine is not using pfSense as its default gateway." I changed the gateway on the server (which has sshd which I want access to) to my testing pfSense box and it works right away.

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