• Vouchers unlimited time

    2
    0 Votes
    2 Posts
    987 Views
    E
    Hey gio, you could use "Automatic MAC Pass-Through addition" to automatically add the MACs of the users to the Pass-Through table. Although it is not really documented, if you select only one of the two check boxes, the MAC address is added and never deleted; when selecting both check boxes it should add the MAC and delete it after the voucher expires.
  • Captive portal centralized voucher generation

    20
    0 Votes
    20 Posts
    5k Views
    F
    @ozlecz: thanks guys…...had it worked; = got to make the same zone throughout I have to admit I was shaking my head a little through this thread but it gave me the clue I needed. I don't see anywhere in the docs (perhaps I missed it) that the zone name must be the same at the locations syncing with the master. The sync reported success but none of the vouchers worked. I had a different name and since there is no way to rename in the GUI I had to edit the XML config file by hand to change the zone name. After I did that it worked, so thank you ozlecz! :)
  • Problems Captive Portal Idle timeout Pfsense 2.1.3

    7
    0 Votes
    7 Posts
    2k Views
    G
    With my current time zone(gmt -3), session last activity is almost 5 hours ahead. so I've tried to set my timezone to london (gmt 0) and for my surprise, last activity is earlier then start time.
  • MOVED: Probleme mit Web Access beim Captive Portal

    Locked
    1
    0 Votes
    1 Posts
    541 Views
    No one has replied
  • Captive Portal Bandwidth settings issue after 2.1.2 update?

    16
    0 Votes
    16 Posts
    7k Views
    E
    @ermal: Yeah the behaviour has been that way but even until 2.1 there was no bw limits you could apply to such hosts. Hmm, which hosts are you referring to? The ones in the mac passthrough list? The bw limits definitely worked for all users who logged in through the captive portal. The behaviour has been changed to match the configuration since an allowed host is still a user. What you can do is specify 0 when you configure such hosts or the required bw. This is mostly to be consistent all over with the limits. That doesn't seem to be working for me - 0 isn't accepted. When I change an existing entry in the MAC passthrough list to have 0 as both the upload and download values, when I click on Save and open that entry again, the values are blank. If I set a number other than 0, it is saved. All the entries on my mac list have the up and down bandwidth blank. Following the description on the main config page, setting it to 0 or blank means that host will have no limit. However, the hosts are still limited. Thanks!
  • Captive portal bug 2.1.3

    4
    0 Votes
    4 Posts
    1k Views
    GertjanG
    @m4st3rc1p0: ….all subnet that is allowed on the allowed IP address in the portal page should be or can be access by the client but we cannot i can only ping other than that sharing is not allowed. Can you make this more clear ?
  • Why Captive portal Not Deleted Record a day before?

    3
    0 Votes
    3 Posts
    635 Views
    F
    add to cron script.sh with "rm /var/db/captiveportal_usedmacs_<cp>.db"</cp>
  • Captive portal approval after self registration?

    1
    0 Votes
    1 Posts
    821 Views
    No one has replied
  • Reloggin not possible did not find logginpage

    3
    0 Votes
    3 Posts
    734 Views
    S
    Wehre can i find this Information? "Question: What is your Hard timeout ? Idle timeout ?"
  • 0 Votes
    4 Posts
    1k Views
    E
    It depends on the details. Can you share what kind of frames are not understood by pfSense? Though reading again your post you are talking about stateless accounting packets(or outbound accounting packets) right? If that is the case no stateless accounting packets are not supported so far.
  • Captive portal not come up if i click or type url to www.facebook.com

    3
    0 Votes
    3 Posts
    1k Views
    A
    @mendilli: www.facebook.com automaticly redirects you to https://www.facebook.com, if you want to have portal login page for https/ssl try "enable HTTPS login" option in captive portal settings Thanks A LOT .  after try look like i have a lot of work.  :)
  • Using Apple Products with Captive Portal

    12
    0 Votes
    12 Posts
    8k Views
    D
    @laoistom: I've tested the solution above and while it works for a success page redirection it doesn't work for allowing the likes of Facebook, Youtube or twitter apps on iOS devices. Looks like i'll have to wait for an apple "update" to hopefully do something that fixes this. Cheers for the help guys TQ This solution is not intended to fix your Facebook problem. It is workaround for Apple's "CP improvements" as described on many other forums as well as here before. Maybe I hijacked your thread with this, sorry. I don't use/own Apple products, so I cannot test anything, but if you do some packet capture and post it here maybe we can come up with some solution.
  • Synchronizing two pfsense + freeradius database without SQL

    1
    0 Votes
    1 Posts
    576 Views
    No one has replied
  • Wrong last activity for some users

    5
    0 Votes
    5 Posts
    1k Views
    M
    if ($lastact && $lastact >= $cpentry[0] && (($pruning_time - $lastact) >= $uidletimeout)) { $timedout = true; $term_cause = 4; // Idle-Timeout $stop_time = $lastact; // Entry added to comply with WISPr } ı have added the code piece in red, this checks if lastact is bigger than session start and if not does nothing, I mean no kick out
  • Voucher can't login , redirect login page again.

    2
    0 Votes
    2 Posts
    1k Views
    P
    When you visit the login-page of your pfsense-router, what url do you get? www.10.0.0.1:8000\….???....(What is here written?) When here is something like "generate" in the url, then you should read my post here: https://forum.pfsense.org/index.php?topic=75639.0 When it is not in the url, I hope any other can help you greetings
  • Kick all users with php command

    2
    0 Votes
    2 Posts
    1k Views
    GertjanG
    Test this: require("captiveportal.inc"); if (!is_array($config['captiveportal']))         $config['captiveportal'] = array(); $a_cp =& $config['captiveportal']; foreach ($a_cp as $cpkey => $cp) { $cpzone = $cpkey; if (!empty($cpzone))  { $allusers = captiveportal_read_db("WHERE sessionid <> '0'"); foreach ($allusers as $userid) { if (!empty($userid[5])) // echo "Removing sessionid = ".$userid[5]." "; captiveportal_disconnect_client($userid[5]); } } } ?> This will stop all users on all interfaces (zones). I didn't test it myself - to many users on my portal right now  ;)
  • Users are allowd to pass through even hard timeout is reached

    2
    0 Votes
    2 Posts
    747 Views
    D
    Don't get me wrong, but have you tried to set up some sane values for the timeouts? I certainly fail to see how's forced logoff after two minutes useful for any purpose except for making your users extremely pissed off. The one minute idle timeout will even most likely be missed every other time by the minicron job.
  • "Patch to Captive Portal" - Squid

    1
    0 Votes
    1 Posts
    973 Views
    No one has replied
  • Default captive portal

    3
    0 Votes
    3 Posts
    1k Views
    jimpJ
    FYI- On 2.2 (still in Alpha) we have made buttons in the GUI to remove a custom page which would revert it back to the default page instead.
  • CaptivePortal Redirect Problem.

    1
    0 Votes
    1 Posts
    882 Views
    No one has replied
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.