• Captive Portal Voucher PDF & QRCode Generator webservice

    2
    0 Votes
    2 Posts
    833 Views
    GertjanG

    @sujith34 said in Captive Portal Voucher PDF & QRCode Generator webservice:

    knobelbecher.net

    has already site issues to works on ....

    Solutions that 'hook' into pfSense directly are always doomed to be abandoned.

  • Captive portal + Mac Auth + Radius Active Directory dont work

    1
    0 Votes
    1 Posts
    429 Views
    No one has replied
  • Captive Portal + Squid Dev-3 in Non Transparent mode not working

    11
    0 Votes
    11 Posts
    6k Views
    G

    @amitaussie any solution ?

  • pfSense voucher in Mikrotik

    1
    0 Votes
    1 Posts
    647 Views
    No one has replied
  • Cron captive portal disconnect all user

    2
    0 Votes
    2 Posts
    633 Views
    GertjanG

    @mohamed-elkhateeb

    Has been published here on the (this) forum.
    Sorry, my search button is out for the day.

    edit : and repaired.
    Here it is :

    #!/usr/local/bin/php -q <?php /* Disconnect all clients on all captive portal instances */ require_once("/etc/inc/util.inc"); require_once("/etc/inc/functions.inc"); require_once("/etc/inc/captiveportal.inc"); global $g, $config, $cpzone, $cpzoneid; /* Are there any portals ? */ if (is_array($config['captiveportal'])) { /* For every portal (cpzone), 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; $cpzoneid = $cp['zoneid']; captiveportal_disconnect_all(); } } ?>

    Place the file with extension php in, for example, /root/

    Make a cron entry like

    59ff7d41-7aca-437c-82ac-c241dfa27e20-image.png

    Pick time entries as you wish.
    "pkg_check.php" must be the name of the file you created above.

    Start by installing the pfSense cron package.

  • Squid + Captive Portal authentication does not work TCP DENIED 403

    1
    0 Votes
    1 Posts
    468 Views
    No one has replied
  • hello guys could anyone help me with my pfsense?

    1
    0 Votes
    1 Posts
    381 Views
    No one has replied
  • Pfsense captive portal does not show on IPhone !!

    23
    0 Votes
    23 Posts
    6k Views
    johnpozJ

    @gertjan said in Pfsense captive portal does not show on IPhone !!:

    They don't care about de local castle from the 14 century.

    heheh - I don't know when I was on business trips my favorite part was taking in the local history and stuff to do. This was mostly the local tavern ;) But still - hehehe

    I spent a bit of time in Tulle on multiple occasions.. I had a couple of fav watering holes there.. One of my favorite spots was a little place tucked away on a side street, loved to sit outside and just watch the people going about their business and enjoy a few beers..

    It was across from the cathedral there, and believe that was from the 14th century ;)

  • 0 Votes
    1 Posts
    371 Views
    No one has replied
  • Thirdy Party Captive Portal (External Captive Portal)

    3
    0 Votes
    3 Posts
    967 Views
    A

    @gertjan thank u man, for your reply...i'll see with dev team if we can work on it beacause i´m just the infra guy and maybe i´m doing the wrong questions...🤣

  • Captive Portal and SIP2

    1
    0 Votes
    1 Posts
    411 Views
    No one has replied
  • CP Redirect Problem

    14
    0 Votes
    14 Posts
    3k Views
    GertjanG

    Xiami devices ?

    You mean Xiaomi devices ? These are based on the Android OS, right ? So, they should work. I see the connected don my captive portal.

  • To enable php mysqli class support

    5
    0 Votes
    5 Posts
    1k Views
    GertjanG

    @kelvinmurik

    Correct. "mysqli" requires "mysqli" support, which is different from the older "mysql" (-connect) library.

  • Captive Portal Free Wifi with Hard Timeout & Vouchers

    2
    0 Votes
    2 Posts
    499 Views
    GertjanG

    What I understood :
    Initially, everybody can obtain a free voucher, good for 12 hours.

    @zuzu-0 said in Captive Portal Free Wifi with Hard Timeout & Vouchers:

    no matter if you have a voucher or not

    What do you mean by "voucher or not' ? People can connect without a voucher ?

    The duration of a voucher can't be changed after creation.
    When users switch from the "12 hours" to a "21 days", they switch vouchers, right ?

    It is - in theory - possible to reset the "moment of first usage" of a voucher but this needs coding.

    @zuzu-0 said in Captive Portal Free Wifi with Hard Timeout & Vouchers:

    everyone who buys the Wi-Fi gets to type in the code every 12 hours

    The "hard time" out will throw out any connection. Users that use vouchers that are still valid can / have to reconnect, that's correct. Probably not convenient for you, I understand.
    You've tried a "hard time" out of "20 days" ?

  • Is letsencrypt.Org an option for https captive portal?

    9
    0 Votes
    9 Posts
    6k Views
    GertjanG

    @barrio603 said in Is letsencrypt.Org an option for https captive portal?:

    would be

    Your "would be" became a "must have" half a decade or so.
    It's 6 years later now. The acme.sh pfSense package took care of things.

  • Captive Portal Per User Restriction not working.

    19
    0 Votes
    19 Posts
    2k Views
    R

    @papdee Nope, never used Traffic Shaper. you might be right but how can I verify that which config is overriding ?

  • Schedules and Captive Portal configuration

    1
    0 Votes
    1 Posts
    374 Views
    No one has replied
  • Captive portal and DNS Redirection

    4
    0 Votes
    4 Posts
    1k Views
    GertjanG

    @galacticfreez said in Captive portal and DNS Redirection:

    I thought Apple Devices had different DNS configured and that it would avoid the captive portale to open. But it isn't the case (it seems this could help : https://developer.apple.com/news/?id=q78sq5rv)

    That link shows what the future might look like. It's, at best, RFC draft today.
    This solution only needs a working DHCP server, and some json/webserver support.
    Initial DNS functionality becomes irrelevant, as captive portal interaction becomes possible as soon as the IP link is established.

    iDevices - and all the others - work just fine with the current way of doing things.
    I'm using myself the captive portal for a hotel.
    It works.

  • Captive Portal and TSE server

    3
    0 Votes
    3 Posts
    577 Views
    L

    @gertjan
    No router, all my users on the server have the my server's ip adress .
    For exemple, baracuda firewall install a program on the server whish link the sender's port with the user and send it to the Firewall.
    https://campus.barracuda.com/product/cloudgenfirewall/doc/95259264/how-to-configure-ts-agent-authentication/

  • WhatsApp on the network without the login page

    5
    0 Votes
    5 Posts
    607 Views
    M

    @gertjan Thank you👍 👍

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