Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    [SOLVED] Real time IP whitelisting portal.

    Scheduled Pinned Locked Moved Firewalling
    1 Posts 1 Posters 560 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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy