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

    Disconnect external freeradius

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 2 Posters 231 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.
    • D
      dimsum
      last edited by

      Hi There,

      I have one question is possible to send a disconnect via freeradius machine to force the user to disconnect on pfSense(CP)

      Flow
      freeradius <---> pfSense (CP) <--> WiFi

      I have read this document but not help.
      https://wiki.freeradius.org/protocol/disconnect-messages

      Any idea please advise.
      Thank you.

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @dimsum
        last edited by Gertjan

        @dimsum said in Disconnect external freeradius:

        https://wiki.freeradius.org/protocol/disconnect-messages

        Like clicking here :

        fdc874a1-461e-4176-b564-29fac0de727c-image.png

        ?

        Or here :

        fd6ad817-ba16-4d53-902d-9c485f8383ef-image.png

        ?

        edit : on the https://192.168.1.1/status_captiveportal.php you can find :

        	captiveportal_disconnect_client($_POST['id'], 6, "DISCONNECT - KIKED OUT BY ADMINISTRATOR");
        

        So you need to go down to the rabbit hole : the PHP function captiveportal_disconnect_client() can be found in /etc/inc/captiveportal.inc

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 1
        • D
          dimsum
          last edited by

          I will dig it.

          Many thanks!

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