• Help with Captive Portal Vouchers Expire

    6
    0 Votes
    6 Posts
    1k Views
    DerelictD

    What do pass-through credits have to do with anything?

    If you want to create a 6-hour voucher, create a roll of 6-hour vouchers.

    If you want to use pass-through credits, use those.

    If you want to use usernames/passwords and timeouts, use those.

  • Alert/Notification for CP Login

    4
    0 Votes
    4 Posts
    898 Views
    The Computer GuyT

    You could probably achieve it with a cURL command back to your own server.

    I use a cURL command to let me know if the Syslog box is online when a user connects to the CP.

  • Captive portal Authentication

    4
    0 Votes
    4 Posts
    1k Views
    The Computer GuyT

    One of my customers recently wanted to simplify their captive portal, so I'm setting up a system where there will be a generic password that changes every quarter. Then simply protect a "no authentication" page using the php script, they enter password, agree to t&c's and get online.

    You could do the same, all the script does is get the current month, and checks the password against an array.

  • Authentication page doesn't appear. Only passthrough MAC

    16
    0 Votes
    16 Posts
    2k Views
    DerelictD

    Hard to say without more details what you are doing wrong. Start testing all those things, copying, and pasting I guess.

    I just turned up a captive portal and it worked fine. Had to pass 8.8.8.8 if the clients were configured to use that for DNS. Did not have to pass the local interface address in the CP.

    Note that the traffic has to pass both CP and the interface rules to work.

    Concentrate on DNS. figure out why users cannot resolve names unless CP is off.

  • Captive Portal dont work in smartphones

    Locked
    7
    0 Votes
    7 Posts
    2k Views
    GertjanG

    @mr.J:

    First, my cell phone is communicating with pfsense because it receives an ip from my range of ips. ….

    Ok, DHCP is working. But tell us more, because there is more.
    What was the DNS received ? Gateway ?

    @mr.J:

    I think the problem is my captive portal that does not work on the mobile because it is working on computers.

    ??
    A mobile == a computer. For pfSense there is NO difference. Except : a mobile device connects by Wifi so there is an intermediate AP. Meany newbies don't know how to setup an AP correctly (as seen on the forum)…..

    @mr.J:

    Ahhh another thing, if you manually put the ip and then the port, for example 192.XXX.XXX.XXX:8002 it redirects to the captive portal. But this if you manually put ip, this does not happen automatically. Any suggestion?

    Entering a static IP (nad mask, and DNS, and gateway) or receiving them by DHCP is the same thing.
    Check out what how it is different and you are close to a solution.

    @mr.J:

    Another thing, I was watching on the internet, and some people said that it is dns problem, that it was just enough to change to DNS Forwarder, but I changed and it did not work. Also if it was a DNS problem, it was not on the computer, right?

    "watching on the Internet" isn't very clear. Much is said on the net. If you have a link, show the link.
    I tend to propose : use the "DNS Resolver", not the "Forwarder" because, why should you handle stuff remotely (== takes longer) if you can do it "right here" (locally).
    Btw : https://doc.pfsense.org/index.php/Captive_Portal_Troubleshooting

  • 0 Votes
    6 Posts
    900 Views
    V

    It will also be interesting to know how your adventure goes, please keep us posted what you have found/implemented and if it worked in your scenario.

    Cheers!

  • Ask about Maximum concurrent connections in Captive Portal

    1
    0 Votes
    1 Posts
    599 Views
    No one has replied
  • Redirection to certain url before hard time logout

    2
    0 Votes
    2 Posts
    422 Views
    jimpJ

    No, that is not possible.

  • Captive portal on pfsense

    2
    0 Votes
    2 Posts
    797 Views
    GertjanG

    Hi.

    This would be more then 'configuring'.
    Using the radius setup and you will gave the "per user bandwith and quota".
    But … you initial login should send "something" to the radius setup so a user can chose his "settings". That needs coding.

  • Router logs into captive portal isntead of user

    4
    0 Votes
    4 Posts
    605 Views
    GertjanG

    Make that : https://www.google.com

  • Editing Captive portal page problem

    17
    0 Votes
    17 Posts
    3k Views
    GertjanG

    @bloodsside14:

    test

    Can you list what you have here : Services -> Captive Portal -> [ZONE] -> File Manager ?
    A file called "captiveportal-test.jpg" should be there (exactly the same).

  • 0 Votes
    3 Posts
    1k Views
    S

    i've re-installed PfSENSE and it solved.

  • MOVED: captive poral, radius and password file

    Locked
    1
    0 Votes
    1 Posts
    330 Views
    No one has replied
  • CP Help

    1
    0 Votes
    1 Posts
    430 Views
    No one has replied
  • Captive portal with freeradius

    2
    0 Votes
    2 Posts
    718 Views
    jimpJ

    You cannot assign IP addresses based on RADIUS results with captive portal.

    For that you'd need something like 802.1x on the switch, NOT captive portal.

    For the user to load the captive portal page they already have to have an IP address, and it's too late to move them to a different one.

  • Wait time when end hardtime captiportal

    9
    0 Votes
    9 Posts
    1k Views
    N

    Ok Tks Gertjan,
    i'll retry and feedback

  • CP loop/ Re-login

    4
    0 Votes
    4 Posts
    847 Views
    D

    @mbutz89:

    I do not have control on what version we run in the field.

    Then perhaps you should advise those who have the control that they are running unsupported firewall version affected by many security issue long fixed in the versions that are supported. You are also missing tons of non-security bugfixes.

    https://doc.pfsense.org/index.php/Versions_of_pfSense_and_FreeBSD

  • Mac adress problim

    2
    0 Votes
    2 Posts
    584 Views
    GruensFroeschliG

    If i hadn't looked at your previous posts i would have taken you for a spam bot and banned you.
    You really could run your post at least through some basic spell-checking…

    As for your problem: There is no way to prevent someone from cloning your MAC address and using it to circumvent your MAC-lock.
    That's mainly the reason why MAC-based ACLs are not considered useful.

  • Captive portal + Squid cache

    1
    0 Votes
    1 Posts
    722 Views
    No one has replied
  • 0 Votes
    6 Posts
    4k Views
    GertjanG

    This :
    @technobiz:

    …. still redirection to login page does not work.

    as a description of your problem will not help us to find out what you forget to mention (and we should know so we can tell you what is wrong).

    Tell us more if not everything about your interfaces.
    How you set up DNS.
    How you set up the portal (configure page).

    Start using the default built in login page - and make the portal should work.

    You should read : https://en.wikipedia.org/wiki/HTTP_404

    Btw : you can not change  http://x.x.x.x:8002/index.php?zone to http://wireless.hotspot
    This : http://x.x.x.x:8002/index.php?zone is already incorrect. The "zone" parameter should contains value so pfSense knows WHAT captive zone it's handling (more then one can exist)
    This : "8002" is hard coded , and the first web server instance that is running to handle your first instance.
    When you use something like "http://wireless.hotspot" it implies "http://wireless.hotspot:80" so you will get redirected …. see instruction here https://doc.pfsense.org/index.php/Captive_Portal_Troubleshooting to see what's really going on.

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