• Monitoring user bandwidth

    Locked
    8
    0 Votes
    8 Posts
    7k Views
    S

    @Army_Man:

    i mean i want to use the captive portal with local radius can i do that is pfsense ? i dont need any accounting things i need only to get username and the amount of MB of internet usage he used.

    On your first question answer is - Yes, you can use CP with local radius.
    Your second statement/question is contradictory - amount of traffic IS accounting.

    With local radius you can do some "primitive" accounting in a way that CP is generating start/stop messages to radius which write those in /var/log/radacct/users_IP address directory (like this one /var/log/radacct/192.168.151.252). Inside you will find file for each date (detail-20100608) in format detail-date_stamp.

    I have attached sample file which I have created for you. In those files you will find data how much of traffic is generated by user from this IP for each individual session. It is up to you then to transfer those files to your accounting computer and do something meaningful with that data.

    I hope that I have provided you with info needed.

    detail-20100608.txt

  • Public WIFI

    Locked
    17
    0 Votes
    17 Posts
    12k Views
    L

    Thanks.

    That is exactly how I set it up in the end.

  • Captive Portal and Authentication

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    jimpJ

    @csujoe:

    I have Captive Portal configured with NO user authentication and redirection set however every time I connect, I get a pfSense login screen.  I have completely removed pfSense and reconfigured it from scratch and the same results each time.

    All I am looking for is an open captive portal system with redirection.  Any ideas?

    Usually it doesn't take much to get Captive Portal going, just enable the service and it works.

    Can you post exactly what you put in every field of the Captive Portal configuration so that we can see if something is not set quite right?

  • CP not working with port forward

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Captivportal with Chrono Timer

    Locked
    9
    0 Votes
    9 Posts
    5k Views
    R

    yes my Friends !!!

    The Solution is here:
    Edit file        /usr/local/captiveportal/index.php
    ….......................................................
    if ($_POST['logout_id']) {
        //disconnect_client($_POST['logout_id']);  <–-------comment this line
        echo << <eod<br><title>Disconnecting...</title>

    You have been disconnected.

    EOD;
    disconnect_client($_POST['logout_id']);  <–---- add line

    Now  pop up LogOut  is closed in one click !!</eod<br>

  • With Mac Without IP Authentication

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Captive portal and proxy

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • MOVED: Redirect problem in Captive Portal

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Change CP Login

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    jimpJ

    There is a field on the CP page to upload your own html, and a file manager tab for other content.

  • Voucher time limit

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    S

    @jimp:

    Everyone has access to the source code, it is open source after all.  ;D

    Just because you make something accessible doesn't necessarily mean it can be understood or accessed by everyone ;)

    Can someone tell me the maximum valid duration of a captive portal voucher roll?

    Regards,
    Stuart

  • Allow Mail Server IP

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    S

    The Mail Server is external. That why I did the any to an IP rule to get out because mail does not work without a Captive Portal lease.

  • Logout problem

    Locked
    7
    0 Votes
    7 Posts
    4k Views
    L

    Hello Itaca,
    Thanks a lot for your help. It works very well with Firefox !
    Not with the others browsers (Chrome, Safari or Opera, but it's not important)

    :)

  • Portal Page Problems

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Schedules and Captive Portal

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    E

    It is fixed in 2.0!

    Though it is a strange case you are trying to model :)

  • MOVED: configuracion pfsense

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Authentication page very slow

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    M

    According to what you say, i've tested with a minimal page (just the form) and the result is the same … about 20 - 30s

  • Multiple Login Page for captive portal (2 language = 2 pages)

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    W

    I tried it like you said and it's not working.

    I'm on version 1.0.1 tho so i'll try to upgrade to the last one and try again

  • Allowed IP addresses

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    J

    I have reserved my first 50 addresses for my range of wireless user, e.g 192.168.30.1  are reserved  for DHCP Server, and of 192.168.30.51 to 192.168.30.250 for wiring user, this are static addresses. I have not the ability to add another PCI card to my pfSense. I want my wireless users go to Internet by the captive portal and the rest do not pass through the portal. Greetings and thanks for responding

  • 0 Votes
    4 Posts
    2k Views
    W

    Thanks cmb

    My problem was that my DNS wasn't the one of PFSENSE

  • Limiting Captive Portal users to certain web sites

    Locked
    6
    0 Votes
    6 Posts
    7k Views
    G

    my suggestion is the following config:

    1.U can add an opt network interface and set up a dhcp server on it.
    After that from firewall do your rules as u wish for the entire class of ip`s o this NIC.
    this one works if u can attach your wireless AP/Routers directly to this nic
    2. U can make ip aliases an use them in firewall rules

Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.