Allowing program through the firewall
-
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.77I 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!
-
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...
-
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...
-
I actually figured it out on my own, and its exactly what you have in the image. Thanks for the help, Im an idiot!