• CP+FreeRadius+MySQL - Login page to let users to reset password

    3
    0 Votes
    3 Posts
    2k Views
    D
    hello, thanks for the reply. with some tests I have already managed to create a PHP page where entering credentials, it is checked whether the user must change his password (with the table "resetpsw"). Searching the internet I found a code to establish a connection to mysql and change the password. I do not know how to integrate this code in the login page and adapt it to run before the action $PORTAL_ACTION$ that authenticates the user. thanks
  • Info Page?

    4
    0 Votes
    4 Posts
    1k Views
    GertjanG
    @jhochwald: More the Bandwidth parameter that we pass him via Radius and/or CP Settings. Ah ….. This info is also present in the PHP array, loaded when PHP executes. The PHP code that 'makes' this page "Status => Captive Portal" ( /usr/local/www/status_captiveportal.php ) shows you all the arrays and variables (and how to access them) you need to make your page.
  • Hard Timeout and Idle time doesn't works.

    2
    0 Votes
    2 Posts
    772 Views
    GertjanG
    You saw this message https://forum.pfsense.org/index.php?topic=69606.0and ?  ;)
  • Captive portal login every 3 web pages

    4
    0 Votes
    4 Posts
    839 Views
    GertjanG
    @Trel: I haven't used the captive portal in ages, but is there a logout button/page that maybe that machine's browser is prefetching? Itb is already push-out by a jaca script when login succeded (if set to do so). But a button needs to be pressed to actually logout. This would show up in the captive portal log. Right now, I guess "LOGOUT's aren't seen in the portal log. So 'something' is resetting the portal firewall (the tables ipfw that contain the allowed client IP's).
  • CaptivePortal no redirect https

    6
    0 Votes
    6 Posts
    3k Views
    T
    @Gertjan: Source ? It was a reply to something on reddit.  It's not a source.  That's why I'm asking if there's anything accurate about that.
  • 0 Votes
    3 Posts
    1k Views
    GertjanG
    The portal log shows connect and disconnect messages ? Any other messages ? Drop in over here https://forum.pfsense.org/index.php?topic=69606.0and check if that is your issue.
  • Hardware Firewall Vs. PFsense Captive portal

    3
    0 Votes
    3 Posts
    1k Views
    M
    Router, Firewall/PFsense reside in the same segment. They meet at the switch.  Captive portal is implemented in one of the VLAN . Whenever I enable the portal printing does not work and this is is windows. Also another finding is that when I used Sonicwall,  mac address filtering is working without using SOnicwall as the default gw for client. But when I use PFSense and enable portal mac filtering is not working it always prompt for username and password. Client is not connecting in public network they are connected on the lan network. Can you advise me on this.
  • Restrict devices

    3
    0 Votes
    3 Posts
    893 Views
    I
    hi thanks for the sulucion also had that detail …
  • Rickrolling Captive Portal Example

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Supported Browsers - Captive Portal

    2
    0 Votes
    2 Posts
    769 Views
    perikoP
    U have issue with some browsers? I had use on desktop: firefox chrome iexplore Android working to.
  • Using Captive Portal to Collect Email Addresses

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Per-user bandwidth by Voucher?

    3
    0 Votes
    3 Posts
    1k Views
    perikoP
    Thanks someone give us ideas, we will work on this one, the code is there :-).
  • What rule match Captive Portal authenticated user's?

    3
    0 Votes
    3 Posts
    780 Views
    GertjanG
    Hi, @eyp: I'm testing Captive Portal function but I dont understand how the user autenticated can navigate through the firewall. I think a better answer is possible  ;) If your captive portal is being called "zone1" (visible on the Status => Captive Portal page) then this command: ipfw -x zone1 table all list will list the tables with all permitted users. Table 1 and 2 contain the IP and MAC of every authenticated captive portal user .
  • Use the DHCP list to captive portal

    2
    0 Votes
    2 Posts
    571 Views
    GertjanG
    Hello, @ChristianViana: I´d like to use the DHCP list to create a pass-through list on Captive Portal. I understand. The information put into the DHCP leases table can also be set on the pass-through-MAC tab on the Captive Portal settings page. @ChristianViana: Can I do this? I don't know  ;) You tried it ?
  • CP VERY slow

    3
    0 Votes
    3 Posts
    1k Views
    GertjanG
    Hi, I use "Enable per-user bandwidth restriction" (checked) - using these settings: 2500 (Kbits upload) and 700 (Kbits download). It works pretty well for me, when I test speed limits with my iDevice. Slow portal behavior seems more a DNS issue to me. I remember seeing that when add MAC on the "pass-through-MAC" page, the speed settings over there aren't taken in account (bug ?!).
  • [SOLVED] Captive portal and RADIUS Authentication

    3
    0 Votes
    3 Posts
    5k Views
    J
    Hi, I am experiencing the same issue right now on my captive portal radius authentication setup. I am getting an error every time I try to re-login for the second time, first time produces an error. This is the error: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4294967295 bytes) in /etc/inc/radius.inc on line 446 I've tried to follow you "too long" secret key suggestion but it did not work for me. Anyway, maybe you have some other idea about what might be causing that error.
  • Voucher system with freeradius?

    1
    0 Votes
    1 Posts
    923 Views
    No one has replied
  • Sending Attribute 8 Framed-IP-Address in access request to radius

    1
    0 Votes
    1 Posts
    939 Views
    No one has replied
  • Local php redirect after successful login

    3
    0 Votes
    3 Posts
    3k Views
    S
    thank you Gertjan for your reply, user is connected to the internet after i tested your advice but a error page is appears after logging in :( anyway i tried another method by created a new page only contain a green right mark logo with done below then uploaded as (Logout page contents) and activated (Enable logout popup window) feature, it is working properly as i want . thank you again
  • Captive Portal blocks WiFi-network access [SOLVED]

    7
    0 Votes
    7 Posts
    3k Views
    G
    @Gertjan: @gregoryzero: DHCP-server log shows this: dhcpd: send_packet: Permission denied Failed to send 300 byte long packet over bce1_vlan30 interface Well, that's clear enough. I guess: undo all the vlan-stuff and all starts working. Start digging in that direction. It seems, that everything will be easier… I applied the 2.1.4 update and it seems, that this issue has been resolved. Thanks everyone for help.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.