• Captive portal vouchers print

    captive portal
    5
    0 Votes
    5 Posts
    1k Views
    T
    https://forum.netgate.com/topic/97205/template-roll-printer-with-options-for-2-2-6-2-3-2-3-4-2-4-0
  • app android and apple for captive portal autologin

    6
    0 Votes
    6 Posts
    3k Views
    GertjanG
    Application that pre-fils html login fields AND click the default ok button on an arbitrary html form might exist. The first part, filling in the fields, is something every browser does these days. Nothing new here. Doing an auto login .... something tells me that's actually a security issue. Btw : never had the luxury to try or even own an 'Android' based phone. The pfSense captive portal I manage for more then 10 years, for a hotel, can't be based on some type of device using some app. It should work for every device, every time.
  • Captive portal administrator

    3
    0 Votes
    3 Posts
    523 Views
    ?
    @Gertjan Thanks a lot it works also on my side Iwas just trying to avoid giving access to all the portal menu.
  • Captive portal dont show logged users after marked mac pass-through

    13
    0 Votes
    13 Posts
    848 Views
    F
    @edicastro type the command line ipfw table all list The result should indicate you the status of the two ipfw tables named xxxxx_pipe_mac These tables indicate who is connected
  • Quota Exceeded- client could relogin again

    10
    0 Votes
    10 Posts
    982 Views
    viktor_gV
    @free4 said in Quota Exceeded- client could relogin again: @viktor_g said in Quota Exceeded- client could relogin again: This is no supported by LDAP auth backend I guess it is? https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc754417(v=ws.10)?redirectedfrom=MSDN What you mean? This articles is about RADIUS, not LDAP.
  • Wifi hotspot while connected to CP

    5
    0 Votes
    5 Posts
    810 Views
    P
    @free4 some model of Android phones such as Huawei allow you to configure your phone as a hotspot router while connected to another hotspot router with a simple click of button.
  • 0 Votes
    5 Posts
    2k Views
    O
    @Gertjan Thank you. I'll try to find right web-portal to ask my question than. Have asked this on StackOverflow but I am still ignored there ))
  • How can to access status information of captive portal ?

    4
    0 Votes
    4 Posts
    519 Views
    GertjanG
    Well, the advantage of open source is : you can do what you want, so there are many ways. Something like this - it's executed every 5 minutes by a Munin client : <?php require_once("/etc/inc/util.inc"); require_once("/etc/inc/functions.inc"); require_once("/etc/inc/captiveportal.inc"); /* Read in captive portal db */ /* Determine number of logged in users for all zones */ $count_cpusers = 0; /* Is portal activated ? */ if (is_array($config['captiveportal'])) /* For every zone, do */ foreach ($config['captiveportal'] as $cpkey => $cp) /* Sanity check */ if (is_array($config['captiveportal'][$cpkey])) /* Is zone enabled ? */ if (array_key_exists('enable', $config['captiveportal'][$cpkey])) { $cpzone = $cpkey; /* Zone selected -> count users and add */ $count_cpusers += count(captiveportal_read_db()); } echo $count_cpusers; ?> and the info retrieved, the number of logged in portal users - is used to generate this. The code above is what ne would call a Munin plugin. Many others exist.
  • Control Users Bandwidth in CP

    16
    0 Votes
    16 Posts
    2k Views
    Y
    @mohkhalifa Well, I found 2 threads about Microsoft NPS posted by you in CaptivePortal category, and I am glad that you figured out how to use Microsoft NPS as radius server for pfSense authentication. It's better that you can take some time to share your experience in your own thread, It will help me and others who may got the same issue.
  • TYPO invalid magic

    4
    0 Votes
    4 Posts
    604 Views
    R
    @free4 thank you for the info! I will look if I can find a release date. Perhaps it is worth to wait a bit with the upgrade
  • 0 Votes
    4 Posts
    1k Views
    B
    @mephisto Did you eventually figure it out? I'm in the same situation. Appreciated any info you can share. thanks
  • Max-Daily-Session not working

    4
    0 Votes
    4 Posts
    514 Views
    GertjanG
    edit : see below - bottom - 0.15.7_17 includes this edit. See here https://forum.netgate.com/topic/139132/need-help-on-max-daily-session-attribute?_=1600411248200 pastebin.com (do not post it here) your /usr/local/pkg/freeradius.inc file. Just search sql1 {$varsqlconf2authorize} } and add there : dailycounter monthlycounter noresetcounter expire_on_login just before the line with EOD; Save, stop FreeRadius, start FreeRadius and again, keep in mind settings are thrown away if you upgrade the FreeRadius package. But re editing (if needed) is so easy .... edit : I just upgraded FreeRadius to 0.15.7_17 and this edit (patch) is now included.
  • Attempting to fetch Organizational Units from ldap.google.com failed

    1
    0 Votes
    1 Posts
    249 Views
    No one has replied
  • How does it work in the Background?

    11
    0 Votes
    11 Posts
    1k Views
    E
    @free4 I will definetely have a look at that. Thanks for all the help, i really appreciate it!
  • Captive Portal User Usage Track

    8
    0 Votes
    8 Posts
    2k Views
    F
    @Ahabash you are already able to do that. Using DNS logs+ captive portal logs, you can check which user accessed which website. If you are looking for the precise URL (and not just domains) : please be aware that most of websites are in HTTPS nowadays (which mean : you can't).
  • Automatically Expire Vouchers via script outside of pfsense

    2
    0 Votes
    2 Posts
    385 Views
    F
    @dragon9981 said in Automatically Expire Vouchers via script outside of pfsense: non-used but issued vouchers to be no longer valid. Well that's quite simple : just delete the vouchers roll then create it again?
  • Need help on Max Daily Session Attribute

    7
    0 Votes
    7 Posts
    4k Views
    viktor_gV
    FreeRADIUS SQL backend counter feature: https://redmine.pfsense.org/issues/10871
  • Captive portal one step log in

    3
    0 Votes
    3 Posts
    363 Views
    GertjanG
    Hi, FreeRadius is better integrated these days, and can be installed as a pfSense package. You'll be needing a MySQL (MariaDB) SQL server. This one doesn't (should not) run on pfSense. If you're capable of running and maintaining** these these two, you're pretty close to redoing a bit the code used in the project, as html, ccs and PHP. These 3 had their rocket science status removed in the late nineties. The problem with big addons is .... they only work for a couple of months. As soon as pfSense updates, chances are that something breaks. The author should solve the issue as soon as possible. This means he should be using a portal himself. Which means he already knows that an animal called "RGBD" really exist. When you run a captive portal, you should apply this rule " keep it simple ". Not doing so means : Very soon, you will not be doing what you are doing right now. pfSense is a security device, not some nicely coloured gadget. If updates exist, you install them. If the installed code is personalized which this kind of addons, admins tend to stop updating. And that's another way of going out of business with a lot of buzz. ** FreeRadius and MySQL are not "set them and forget them" type of services. Btw : I guess you do understand that the nearly identical question "Can I use the user's Facebook account to login in into my portal ?" vanished. Some English company did woke up a lot of people. And Facebook changes it's API every week or so. edit : almost forgot : this method is still allowed !
  • CP with voucher code only

    2
    0 Votes
    2 Posts
    192 Views
    S
    hi thanks from Calvin Bui for this post, i found a way to create a login page that show only voucher filed. i change this particular code to : <div class="form-group"> <input name="auth_voucher" type="text" placeholder="Voucher" class="form-control"> </div> <input name="auth_pass" type="text" class="hidden" value="password"> <input name="redirurl" type="hidden" value="captiveportal-success.html"> <input class="btn btn-lg btn-success btn-block" name="accept" type="submit" value="I Agree">
  • Session Timeout not working

    3
    0 Votes
    3 Posts
    492 Views
    R
    Hello. Thanks for the feedback. I managed to solve by creating a record in the radcheck table, with the information of Session-Timeout and Idle-Timeout. Only then does pfSense disconnect expired users. Gracias.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.