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

    Set pfsense captive portal in a hospital

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 2 Posters 2.7k 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.
    • T
      thorenssen
      last edited by

      Hello,
      I'm working in a hospital and my project is to set a captive portal to secure a wireless connection. I chose to install pfSense on a machine (2 network cards) that will be the server and which will be located between the WIFI controller (LAN interface) and the switch (WAN interface). The network is segmented with VLANs, we have two access points (VLAN27 : Internal , VLAN28 : Visitor), I have to manage that when somebody wants to connect on Visitor, it's redirected to the pfSense authentication page (only Internet Access) and when somebody wants to connect on Internal, it's not secure (instant acess to internal network + Internet). My problem is about pfSense configuration, do I have to configure VLANs ? I would like that according to the VLAN where we connect, the DHCP server gives an IP address that matches (I would like to use the DHCP relay because there is already a working DHCP server). Also, I'm wondering about authentication, am I forced to pass through a RADIUS server or can I directly pass through pfSense (add users) and keep logs in a file ?

      Thanks in advance for your answers, I hope that I have been clear enough.

      1 Reply Last reply Reply Quote 0
      • T
        thorenssen
        last edited by

        We tested the captive portal with a laptop, it's working now but we aren't redirected to the authentication page automatically…

        1 Reply Last reply Reply Quote 0
        • A
          alltime
          last edited by

          I don't usually post but I know this forum can occasionally be idle when you have an urgent need.

          How are you authenticating users?  Our users were skipping the authentication page until we found that PFSense was not authenticating with our RADIUS server.

          We are a Medical University using PFSense (2 NICS) with multiple AD servers configured to work with RADIUS.  We do not have any VLANS set for the traffic since our wired traffic is on a different network.  PFSense is also acting as the DHCP server.

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