• Captive Portal Voucher PDF & QRCode Generator webservice

    7
    2 Votes
    7 Posts
    10k Views
    L
    hello, sorry reply an old but interesting post. can i use this solution on premise inside my net without internet access , i meant in a local server with apache or nginx whatever.
  • Captiv portal and vouchers integration with ssid on wlc 9800

    69
    0 Votes
    69 Posts
    10k Views
    johnpozJ
    @Jozy good luck with that mess.. I asked if you had messed with your outbound nat, I didn't say set it to manual.. Auto is the default - all of this would work with clicky, clicky with pfsense out of the box - the only reason it wouldn't is you messed with the defaults, etc.. Or you not even using pfsense as the gateway.. Which it seems your not.. ugggh..
  • Issues After Update from 24.03 to 24.11

    18
    0 Votes
    18 Posts
    2k Views
    C
    @Gertjan said in Issues After Update from 24.03 to 24.11: @Cornel It took me a while, but the issue was hiding in plain sight. Thx - glad we now fully understand what was happening.
  • Captive Portal and Traffic Shaper Issue.

    4
    0 Votes
    4 Posts
    669 Views
    GertjanG
    @heper yeah, that's probably the one. It was solved. I was using 2.7.2 in the post for a while and had no issues what so ever.
  • Simultaneous connections with freeradius server

    1
    1
    0 Votes
    1 Posts
    243 Views
    No one has replied
  • Mac authentication limit

    1
    1
    0 Votes
    1 Posts
    326 Views
    No one has replied
  • Disconnect external freeradius

    3
    0 Votes
    3 Posts
    480 Views
    D
    I will dig it. Many thanks!
  • Is there a way to disable/enable captive portal by schedule?

    2
    0 Votes
    2 Posts
    457 Views
    GertjanG
    @carlosi7 Hover the mouse over the Stop button : [image: 1728994216628-1fc11747-ea64-46c2-b13d-3b8481586f5b-image.png] The "Services Status" status dash board widget is a file you can find here : /usr/local/www/widgets/widgets/smart_status.widget.php This file will bring you straight to /etc/inc/services-utils.inc, where services like the captive portal can be stopped and started. As cron task can be an executable (so you have to build your own^^) or, most often, look at all the pfSense cron tasks already present, a script file. Now you know where to find the examples that shows you how to do that.
  • 0 Votes
    4 Posts
    2k Views
    GertjanG
    @chinraam said in Nginx "404 Not Found" Error after POST action to "$PORTAL_ACTION%2quot;: Can you please guide or let me know how to overcome? I'm not modifying or editing any of the pfSense PHP files. So I have no issues neither errors. I can't do "self registration" as I'm not allowed (and not want to, neither maintain) ask for any private info like phone numbers or email addresses.
  • Does anyone know how to get count of logged users in Captive Portal ?

    3
    0 Votes
    3 Posts
    677 Views
    M
    @Gertjan said in Does anyone know how to get count of logged users in Captive Portal ?: php -q /root/captiveportal_count_online_users.php PERFECT! Tks,
  • Logo image is not displayed after user login

    18
    1
    0 Votes
    18 Posts
    2k Views
    Y
    @Gertjan @JonathanLee It has been fixed, found the same issue. https://redmine.pfsense.org/issues/15404
  • Ips allowed in Captive Portal pfsense 2.7.2 does not work

    4
    0 Votes
    4 Posts
    705 Views
    GertjanG
    @msalavee said in Ips allowed in Captive Portal pfsense 2.7.2 does not work: 2.6.0 I've been using 2.7.2 for a while and then switched to pfSense Plus, currently 24.03. Did you saw the last post in the thread I've shown ?
  • Ips Permitidos no Captive Portal pfsense 2.7.2 não funciona

    2
    0 Votes
    2 Posts
    321 Views
    GertjanG
    @msalavee It's always a language issue ;) See your other post.
  • Why does Captive Portal not work with IPv6?

    10
    0 Votes
    10 Posts
    2k Views
    A
    After two years of work, I was able to create a captive portal system on IPv6. installation guide on YouTube: https://youtu.be/iNjzQ0beCaA?si=6PNOC3vEFhUfPJe4 Download link for the trial version: https://drive.google.com/file/d/1cbmzbUVbu6Wg_kWNLfXjOb7QZB8LlZFS/view Best regards
  • Relationship between uploaded HTML and index.php in Captive portal.

    2
    0 Votes
    2 Posts
    662 Views
    GertjanG
    @Intone said in Relationship between uploaded HTML and index.php in Captive portal.: the relationship When the device hits the captive portal's web server at @IP-Portal:800x the index.php is used. "index.php" because : see the nginx main configuration file - one for http and one for https. [image: 1726739465297-9c814fc8-8d56-4bad-acdb-fc7a62a19dc5-image.png] If the user isn't already logged in, the index.php doesn't do match and falls trough the index.php up until this point. The function portal_reply_page is called with $type set "login" so the main 'html' login page is sourced (line 1835), this is your uploaded html file, variables are put in place, stuff like #PORTAL_ZONE#, and then the magic happens at line 1868. echo $htmltext; and done. When you hit "Connect", now your 'posting', the same index file is used, and you reach the most common point where user and password entries are tested, and if ok, access is granted. short survey : You can use php in your self made 'html' page. edit : go for the easy mode : create a link text (URL) that links to another web page that you upload into pfSense. You will have to write some back end code (script) to handle the user input. Get a copy of the default build in login page (you can see it here) for an example.
  • 0 Votes
    6 Posts
    635 Views
    GertjanG
    @andreychernik999 Not something you can do on pfSense. And not an issue neither. As soon as devices are connected and authenticated against the captive portal, everything works as if there was no captive portal. So gmail, whatsapp, telegram and everything else just plain works.
  • Captive Portal Freeradius With CCTV

    3
    0 Votes
    3 Posts
    343 Views
    GertjanG
    I saw your network diagram. Normally, afaik, captive portal users are non-trusted users. Cameras, normally should be made accessible for trusted users. Try this : declare every camera as a host in one of these : [image: 1725218457531-ed7ad9c0-9cb4-4c65-bc6b-dfc9b835370c-image.png] so no portal access rule (and counters) are used to access the cameras ? (I'm not sure but easy to try out )
  • How can I get a user sent/received size

    2
    1
    0 Votes
    2 Posts
    275 Views
    GertjanG
    @dimsum said in How can I get a user sent/received size: idea Like this ?
  • modify index.php to display data from specific files

    1
    0 Votes
    1 Posts
    185 Views
    No one has replied
  • Problem whith captive portal

    9
    0 Votes
    9 Posts
    789 Views
    A
    @Gertjan Yes but it didn't work, the problem was still there
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.