[SOLVED] Real time IP whitelisting portal.
-
A while back I posted a thread asking for some help with creating a real time IP whitelisting solution.
https://forum.pfsense.org/index.php?topic=85123.msg467484
I have since developed out a solution and thought I would share the results as it is working well for me.
The Problem:
I manage a small call center with many remote agents that need to access the network via dynamic IP addresses.The solution needed to be able to update the firewall rules in real time to allow instant access to the agents once authenticated to an authentication portal.
The Solution:
I wrote a web application that will pull the pfSense config.xml file, and update a White-list Alias node in the XML with IP addresses when an agent authenticates to an authentication portal.A blog post with more details and all of the code I used can be found here:
http://www.hwdevelopment.com/blog/20-real-time-pfsense-whitelisting-application-using-coldfusionI wrote this solution using ColdFusion, but any language could be used to do the job.
Thanks to all in the community that helped with steering me in the right direction.