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

    Allowing program through the firewall

    Firewalling
    2
    4
    2.0k
    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.
    • M
      mprokop87
      last edited by

      Ive tried this before but could never get it to work correctly, so I am hoping that someone can help me. Behind my pfsense machine, I have a server that is running a program with a web interface. All hosts behind the pfsense machine can browse the web interface just fine. What I would like to do is setup the firewall rules so an external host can go to my IP address and access the web interface on this server.

      For example:
      The servers IP address is 192.168.0.11
      The server uses port 80 for the web interface
      The pfsense machines IP address: 77.77.77.77

      I would like people to go to 77.77.77.77:80 to access 192.168.0.11:80

      I know that this is something simple and easy to do but I just cant get it to work. Please help Thank you!

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

        I took quite literally about two minutes to search here on the forum and came up with a few examples but not what I was looking for…  If someone else has a good link please post....

        That said...

        Start with port forwarding.

        Firewall/NAT   Click Add...

        pfsense.JPG

        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
        • chpalmerC
          chpalmer
          last edited by

          Yours should look like this…     "External address" could be something else depending on your internet connection...

          At the bottom of your window will be a choice to have pfSense automatically add the corresponding firewall rule...  Leave that checked...

          Click "Save"  then when the page refreshes...  "Apply" at the top...

          Keep in mind that allowing the "world" access to your application means that your password for that app needs to be "strong"...    Otherwise there is a good chance that someone will find their way in...

          pfsensepfw.JPG
          pfsensepfw.JPG_thumb

          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
          • M
            mprokop87
            last edited by

            I actually figured it out on my own, and its exactly what you have in the image. Thanks for the help, Im an idiot!

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