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

    [SOLVED] Real time IP whitelisting portal.

    Scheduled Pinned Locked Moved Firewalling
    1 Posts 1 Posters 471 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.
    • Z
      zonephoto
      last edited by

      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-coldfusion

      I 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.

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