• [Solved] Voucher rolls regenerate by itself or manually?

    3
    0 Votes
    3 Posts
    936 Views
    P
    @DanieleIT: Hello, Yes, once the roll is "finished" you will have to recreate it. Ok, I thought it will be intelligent enough to output only unused voucher and recreate new vouchers when necessary  ::) Thank you!
  • Captive Portal / Apple Auto detect & voucher multi devices

    7
    0 Votes
    7 Posts
    3k Views
    M
    Ok thanks for your feedback, I will continue to search how it's working with an external database
  • Captive portal with dns forwarder - do not resolve internal IPs?

    3
    0 Votes
    3 Posts
    1k Views
    S
    @Gertjan: Deactivate the "internal dns forwarder" for your Captive Portal. Instruct the DHCP server that serves the Captive Portal with your (example) ISP DNS servers, or Google DNS servers, or whatever. Like this, portal visitors can not resolve your internal LAN FQDN's anymore. […]Also, the DNS Forwarder or Resolver must be enabled for DNS lookups by unauthenticated clients to work. Not possible, because the unauthenticated clients can never resolve a dns. @Gertjan: BUT : why do you care anyway ? Normally, portal visitors can go (only !) "out" to the net, and your firewall rules for the captive portal interface won't let them into your LAN …. so even if they 'know' that a FQDN exists on your ... what ? LAN ? they can't do nothing with it. Yes, you are right my visitors can only go out into the internet.
  • Allow certain domains through captive portal

    4
    0 Votes
    4 Posts
    2k Views
    L
    Thank you guys for quick response. I've been playing with the options for a while and it kinda works. I've added my domain to the allowed hostnames. The website has links to google map and restaurants facebook page but I cannot allow those two or else I will be giving them access to surf either of these freely (right?). So the part that is not working is redirection to the restaurant website before CP page. I would like to redirect guests to my website right away and only if they want to leave my garden I would present them with the CP page asking them to input their voucher. I set the Pre-authentication redirection url to http://www.salas-ostrazica.com and it doesn't work. At the moment I am still using the default pfsense captive portal page tho. Furthermore I also tried to upload my own html page changing $PORTAL_REDIRURL$ to www.salas-ostrazica.com and it didn't work. I got redirected to www.salas-ostrazica.com after the authentication. However the after authentication redirection url works perfectly with the default CP page. What variable holds the value for redirection before authentication?
  • 0 Votes
    2 Posts
    1k Views
    D
    You have to do this in two steps. First step, you make your own submission, which reloads the same page, and launches the php code where you store your info. Then, once this is done, you just show the CP form and have javascript autoclick on the submit button. See my captive portal code in thread, my code does this more or less with the Login function.
  • [Ask] Pfsense with Userman Mikrotik as external radius

    1
    0 Votes
    1 Posts
    844 Views
    No one has replied
  • IPv6 support for Captive Portal planned?

    5
    0 Votes
    5 Posts
    1k Views
    E
    Thanks for your replies, but I didn't want to have general discussion about IPv6 sense and non-sense. Fact is that IPv6 is upcoming more and more and Pfsense should be ready in all areas. We have a hotel with captive portal for our guests. CP isn't ready and it doesn't support for IPv6 traffic. In this year we will get a full dual stack (IPv4/IPv6) from our provider. Sometime in the future our guest will ask about IPv6 support. IPv4 addresses will by more and more rare so that some day a part of the internet won't support IPv4 anymore. The question is still: Is planned that CP will support IPv6 in the future?
  • Possible PfSense settings depend on Captive Portal User Login?

    2
    0 Votes
    2 Posts
    673 Views
    C
    Captive portal can't be used in that manner. It authenticates the user or machine, then their access is determined by firewall rules the same as without CP.
  • Captive Portal User Log

    2
    0 Votes
    2 Posts
    975 Views
    GertjanG
    Depends how your authentication works. If it is the local user manager, go here : Status => Captive portal. To see who logged in the past (and gave their sessions removed) : go see the captive portal log.
  • Captive portal Same User but different Devices Simultaneously

    3
    0 Votes
    3 Posts
    1k Views
    C
    I watched a few videos and was going to start configuring the radius server. I found out my modems allow bridging so thats another option I guess. Thanks a bunch.
  • Captive Portal no longer working 2.2.6

    3
    0 Votes
    3 Posts
    846 Views
    K
    So it looks like for some reason Google DNS is not working from this location at all.  I disabled DNS resolver and enabled DNS Forwarder and changed DNS under general to Comcast instead of google and all working.  :o
  • Captive portal + https + certificates

    8
    0 Votes
    8 Posts
    7k Views
    C
    @Derelict: Two choices: Let connections to https sites hang and make your users have to connect to an http site to get the portal page. Intercept https connections, display your portal page, and deal with all the ramifications of being an https man-in-the-middle with certificate errors, browser protections, installing your certificate as trusted for your user's bank because they clicked the wrong thing, HSTS, pinned certificates, etc. Third choice: Disable captive portal. Let the users connect and go. Thanks I too option 1 I added https://google.fr and it works.
  • CP, transparent squid and CP credentials as squid user possible?

    5
    0 Votes
    5 Posts
    1k Views
    R
    I am interested in this solution, but…. :-[
  • You can help me understand two option

    1
    0 Votes
    1 Posts
    637 Views
    No one has replied
  • Google Chrome bypassing Pfsense captive portal.

    4
    0 Votes
    4 Posts
    2k Views
    GertjanG
    @CallFromUSA: …. Is there a place where connected users are shown? For the last 8 years, it was here : (see image). You need to have "Authentication method" set to "Local User Manager / Vouchers" You need to declare a user "my_cp_user" with password  (System => User manager) and Make this user member of the group "captive portal visitors". This group should be assigned to this "right" : "User - Services: Captive Portal login Indicates whether the user is able to login on the captive portal." [image: Status-Captive-Portal.png] [image: Status-Captive-Portal.png_thumb]
  • Captive Portal Issue - Need Help

    9
    0 Votes
    9 Posts
    2k Views
    GertjanG
    @Claylol: I think, probably its a conflict of my school dns or dhcp ?? not sure, i think the configuration is ok. Don't think. Be sure ;) Check it. When a client connects to the "pfSense Captive Portal network" it should obtain an IP from pFsense (and from no one else). You can check so with your device (the IP, gateway and preferred DNS) You can see the lease showing up in pfSense. You can see the DHCP server log in pfSense showing the device asking for an IP. @Claylol: Now im trying to put 1 Access Point and try it with my Phone. Be aware that your AP should be AP - remove any DHCP server activities - shut down any router mode functions. It should be a "transparent radio to wire" device.
  • Captive Portal Default Login

    5
    0 Votes
    5 Posts
    2k Views
    C
    @Gertjan: So people do not mess around with "my_cp_user" and "my_cp_user_password", think about this html magic : wow thanks even better.
  • Captive Portal Issues

    6
    0 Votes
    6 Posts
    2k Views
    C
    @limona21: I see there was an updated 2 days ago. That fixed the issue. Very nice :) yea i also got the 2.3.1 update but today .
  • Captive portal and Certification Authentication

    1
    0 Votes
    1 Posts
    570 Views
    No one has replied
  • 0 Votes
    1 Posts
    475 Views
    No one has replied
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.