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

    Pppoe logged users

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 4 Posters 5.4k 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.
    • R
      Richthofen
      last edited by

      Hau!

      Is there a way (or patch) to implement a page which shows users logged in pppoe-server allowing disconnect them? just like that page of captive portal…

      thnx

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        @Richthofen:

        Hau!

        Is there a way (or patch) to implement a page which shows users logged in pppoe-server allowing disconnect them? just like that page of captive portal…

        thnx

        Not that I have seen.

        1 Reply Last reply Reply Quote 0
        • P
          pk
          last edited by

          I would like to see something for logging.  Currently there isn't any logging of the PPPoE accounts at all.

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

            @pk:

            I would like to see something for logging.  Currently there isn't any logging of the PPPoE accounts at all.

            the pppoe authorizations show up in the system log. mpd has a cli as well which you can useto access all the data.
            if i get some time this month i might have a look at writing a how many loggied users page and maybe some features
            how many users have you got on pppoe local db or radius

            1 Reply Last reply Reply Quote 0
            • P
              pk
              last edited by

              @aldo:

              @pk:

              I would like to see something for logging.  Currently there isn't any logging of the PPPoE accounts at all.

              the pppoe authorizations show up in the system log. mpd has a cli as well which you can useto access all the data.
              if i get some time this month i might have a look at writing a how many loggied users page and maybe some features
              how many users have you got on pppoe local db or radius

              I'm using RADIUS for auth.  If RADIUS accounting and interim updates could be added, that would be perfect.  I have a custom CRM to manage the RADIUS server.  I have a stats page to show bandwidth per user, and it's working great with Captive Portal (on m0n0wall, still not working right in PFsense).

              Thanks!

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

                if you enable the cli in the pppoe-server startup script with  -a 127.0.0.1
                you can access it and disconnect a pppoe session

                i also ammended the pppoe load to add the /usr/local/bin/vpn-up and vpn-down to allow loggin of logged in and logged out clients on the ptpp logging tab like so.

                set iface up-script /usr/local/sbin/vpn-linkup
                        set iface down-script /usr/local/sbin/vpn-linkdown

                adding radius acct-update is as simple as adding a line to vpn.inc like so

                set radius acct-update 180

                you will find the relevent area near the bottom of vpn.inc

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