• Import from a list (MAC addresses) possible

    7
    0 Votes
    7 Posts
    499 Views
    johnpozJ
    @heper said in Import from a list (MAC addresses) possible: have mac-randomization enabled by default... yup that could be problematic for sure ;)
  • 0 Votes
    4 Posts
    928 Views
    GertjanG
    @gertjan said in Captive portale issue: not redirecting to the authentification page and no internet access when enabled: Look also at the official Netgate captive portal videos. Strange. I've used these https://www.youtube.com/c/NetgateOfficial/videos and that works very well for me. For more then a decade now. Tel me what your doing differently, then I'll tell you not to do that, and it will work for you also ;)
  • Net topology

    16
    0 Votes
    16 Posts
    1k Views
    GertjanG
    @emad4 said in Net topology: What shall I do ? Some more tests : On the portal client device, lauche a "ipconfig /all" The IPv4 show is in the correct network ? DNS IP == Gateway IP == the pfSense portal network IP ? When connected, wired or by Wifi, to the portal network, but before eautification, so before any login page shows up, DNS requests should work ! This is important. Again : DNS TCP and UDP to port 53, the pfSense portal network should not be blocked. So, nslookup google.com should work. Follow :theses tips : Troubleshooting Captive Portal For in depth portal info : see here. The captive portal video's, the classic and advanced, are still valid today.
  • Captive Portal not redirecting on android

    8
    0 Votes
    8 Posts
    4k Views
    E
    @gertjan said in Captive Portal not redirecting on android: There are thousands of 'android' versions. "And they are not all equal". I've seen several versions working just fine. I had a new 'Samsung' phone in my hand yesterday, had to turn on the 'Wifi' and connect. What looks like a pop-up popped up, and ticking that opened the portal login page. After entering credentials, I was redirected to my redirect page ( https://www.google.com ). But, true, that was an unknown android version, didn't even look up which one. As the phone was brand new, it was probably not up to date anyway. Hi Yes, I understand that there are several versions of Android and that makes things difficult. I'd like to create a wifi network for my company's employees to use during their break, and as soon as they authenticate to the Captivel Portal, it automatically redirects to a landing page with company news. I know it's not a pfsense specific problem, because in Unifi's Captive Portal the redirect doesn't work on Android devices either, only on Windows and IOS. But, we keep on fighting. Thank you very much.
  • Captive portal

    4
    0 Votes
    4 Posts
    477 Views
    E
    @emad4 [image: 1665297363846-net-topology.png]
  • Connection down every day at the same time

    4
    0 Votes
    4 Posts
    374 Views
    H
    @hugoeyng There are various captive portal bugs in version 22.05 You are probably hitting at least one of them. My guess would be this one: https://redmine.pfsense.org/issues/13488 Bug above can be worked around in different ways. See the posts linked in the redmine
  • Same issue

    1
    0 Votes
    1 Posts
    199 Views
    No one has replied
  • devices login with captive portal authorization

    8
    0 Votes
    8 Posts
    847 Views
    O
    @jiss Have a look at this Thread: https://forum.netgate.com/topic/174416/captive-portal-is-broken/19 Maybe you also have the Problem with the Limiters.... Like me
  • Captive Portal is broken?

    20
    1 Votes
    20 Posts
    3k Views
    H
    @gertjan said in Captive Portal is broken?: @denx Hi, I'm using 22.05 on a SG 4100. In the past, I was using 2.6.0 on a home made pfSense device. If my captive portal wasn't working, I would lose my job - sort-of, as I use the portal for a hotel. Last time I looked, it worked. I'm using a dedicated interface for my portal, and as LAN has already 192.168.1.1/24, my portal uses 192.168.2.1/24 - DHCP pool 192.168.2.5 -> 254. I use the Resolver, nearly default settings. The pfSense patches packages has one patch for the portal : This is the patch ID to be used : https://github.com/pfsense/pfsense/commit/add6447b9dc801144141bb24f8c264e03a0e7cae.patch [image: 1661847772551-778dc879-c8cd-4322-abad-7981440f311e-image.png] after install patch - same error dummynet: bad switch 21! dummynet: bad switch 21!
  • Bandwidth restriction per user disabled on a schedule

    5
    0 Votes
    5 Posts
    727 Views
    GertjanG
    @nicolas-pissard said in Bandwidth restriction per user disabled on a schedule: concrete example When you visit this page : [image: 1663584238865-59b09b08-28c5-4ba6-9539-09dee14b4209-image.png] you are actually looking at this page : [image: 1663584286828-395df406-5b60-4c6f-8a46-bf76ab97dfae-image.png] or, to be more precise : a page (== a file) on a web server. Here it is : /usr/local/www/services_captiveportal.php Have a look at this file. It's PHP, worlds most easiest language - as simple as BASIC was in the eighties/nighties
  • "you are connected" after user has been disconnected

    6
    0 Votes
    6 Posts
    408 Views
    J
    I think pfsense captive portal will be a stopgap measure if we are asking too much. Im going to look at a packetfence again, although last time I looked it wasnt playing nicely with our UNIFI kit. We are almost entirely authorised users (secondary authentication is radius for our portal), the voucher users will timeout themselves as they are all limited 2 day vouchers. Our users will not be happy putting their details into the portal weekly. Thanks for the insight though.
  • dns eror when i enable captive portal on pfsense (last stable realse)

    4
    0 Votes
    4 Posts
    626 Views
    GertjanG
    @hamedlynx https://docs.netgate.com/pfsense/en/latest/troubleshooting/captiveportal.html When you're wired up with the portal, over wire or Wifi, DNS should work. The only DNS that gets passed, is not 8.8.8.8 - as everything is blocked. The DNS that works is : the portal interface, port 53. So the connected user should use that one, and not some 8.8.8.8. Then a http:// (not https://...) request should be possible .... etc.
  • how to get Captive Portal statistics from API?

    3
    0 Votes
    3 Posts
    477 Views
    A
    @gertjan Thanks for your reply and help. I tested this PHP script and can get count online users. Do you know if I also can get each user downloaded/uploaded traffic and login start time ?
  • FreeRadius and quotas, doesn't work since 22.05

    16
    0 Votes
    16 Posts
    3k Views
    H
    @gertjan said in FreeRadius and quotas, doesn't work since 22.05: as talking about quotas. i realize that you were talking about quota's and not bandwidth limiting, but since i didn't find anyone with the same issue i hoped it might have been related. i'll contact netgate support - perhaps they have more insight in the bandwidth-limiting issue i'm having, while yours seem fine on 22.05
  • Need to authenticate CP everytime the WiFi SSID changes?

    captive portal
    4
    0 Votes
    4 Posts
    812 Views
    johnpozJ
    @osbhutan even when it just moves AP but its the same ssid? That sure seems problematic for more than just a couple of reason. Can't you just turn that off - I have it off my my home wifi connections.
  • Acme Wildcard Cert Captive Portal

    3
    0 Votes
    3 Posts
    514 Views
    VioletDragonV
    @jimp Hi, Thanks for the reply, my eyes are playing tricks with me I did not see that. Restart a local captive portal instance: Select "Restart Local Service" and enter captiveportal zonename replacing zonename with the zone to restart.
  • Captive portal crashes after upgrading to version 22.05

    3
    0 Votes
    3 Posts
    760 Views
    hugoeyngH
    @gertjan I ran pfsense-upgrade -y and it is working now. Thank you.
  • utilising $PORTAL_MESSAGE$ in a custom error HTML

    3
    0 Votes
    3 Posts
    635 Views
    J
    brilliant, thank you. I saw the example but couldn't find an example with the variable. Not having experience of this Im grateful for the help. I didn't realise it was literally simply put"$PORTAL_MESSAGE$" in the HTML! I thought it was going to be a php line or some javascript. That was the last thing I needed, captive portal going live...
  • Intermittent connectivity when accessing allowed hostnames

    4
    0 Votes
    4 Posts
    656 Views
    johnpozJ
    @nickologic said in Intermittent connectivity when accessing allowed hostnames: Everything loads correctly when connected to the non-captive interface. Isn't there some known bug with captive portal - believe there is a patch.. I believe this https://redmine.pfsense.org/issues/12834
  • Problem with multiple Interfaces since Version 22.05

    17
    0 Votes
    17 Posts
    2k Views
    O
    @gertjan i also added a comment about the "Dot" Problem in the Bug Report. So i think all should be fine for now. THX Gertjan for your help!
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.