• Expired Voucher

    2
    0 Votes
    2 Posts
    685 Views
    GertjanG

    Status => System Logs => Captive Portal Auth

    Logs shown in GUI will 'expire' but your can extend the delay.
    You'll find the info.

    If you use vouchers etc, do use an external syslogger.

  • Captive Portal Zone Renaming Possible? *Solved*

    3
    0 Votes
    3 Posts
    1k Views
    D

    Wow, I didn't even think of that. Nice work!

  • Captive Portal + FreeRadius + VLANs. Is it possible?

    3
    0 Votes
    3 Posts
    1k Views
    A

    Got it! So, I can stop knocking my head against the wall.

    I'll try the configuration you exposed

    Thanks very much for the clarification :)

  • Captive portal + windows 2012 r2 radius server. wont show up

    3
    0 Votes
    3 Posts
    2k Views
    K

    @muswellhillbilly:

    Your clients have to be able to resolve DNS correctly before the CP page will load. So your Windows DNS server should have an external forwarder set and your DHCP settings should have the Windows server set as your clients' primary name server.

    Hi the dns server external forwarder where should i point it? should i just point it to 8.8.8.8?

    i can confirm that the dhcp and dns is being used in the clients pc is coming from the windows server though. i use a VM for client pc.

    EDIT: adding the FQDN and ip on the DNS of windows server did the trick.

  • Pfsense 2.3.2.relese voucher code

    2
    0 Votes
    2 Posts
    935 Views
    GertjanG

    @Aliabro:

    helloo friends i need some help i find the google voucher code ganrater and downlownd file but how i sat this in my pfsense to with out login to make a voucher code and get code by sms im my mobile

    What about this one :
    Go here : https://forum.pfsense.org/index.php?board=34.0
    Read the rules.
    Detail your needs.

    It would be simpler if you write in your own language : https://forum.pfsense.org/index.php?action=collapse;c=3;sa=expand;e2e6bcf=c7ed5cf996928da5f4698f4e4934f651#c3

  • Captive portal pfsense facebook only

    5
    0 Votes
    5 Posts
    5k Views
    GertjanG

    @Mr.Clay:

    Thanks!

    What i mean is. When I try to allow only the facebook IPs. The captive portal is just showing an error and try to access connectivity.gstatic.com/generate_204 link..

    This isn't coming from the (default) portal page, neither from pfSense elsewhere.
    Let me guess : your browser is 'Google' infected. Also known with the name 'Chrome'.

  • Automatic Connects in the internet using captive portal

    10
    0 Votes
    10 Posts
    2k Views
    GertjanG

    @watabigeye:

    but it works only in view in the settings.
    ?

    I mean this the view settings.

    http://imgur.com/a/OPyt7

    Aah … that one.
    Doesn't work for me neither.
    Because : when I click on the "View button", this URL is being loaded into my navigator :
    https://pfsense.brit-hotel-fumel.net:8003/?zone=cpzone1 (I'm visiting the pfSense GUI from LAN)
    Or, my captive portal is running on interface "OPT1", and uses this :
    https://portal.brit-hotel-fumel.net:8003/?zone=cpzone1

    Btw :
    https://portal.brit-hotel-fumel.net… is 192.168.2.1 or the captive portal interface
    https://pfsense.brit-hotel-fumel.net… is 192.168.1.1 or the LAN interface

    Know that I use the https version (with a certificate which is signed by a known CA like startssl.com)

    My portal page can't be visited from LAN because of the certificate I use for the captive portal page (URL).

    But, you do NOT need this "view button", I actually never use it anyway.
    The default, built in page just works very well - do NOT modify this default page if you can't write correct 'html' files (using the pfSEnse variables and syntax).

    When the captive portal is set up - on its own interface like OPT1 - (LAN is possible, though) - DHCP server is running - clients use DHCP to get an IP from pfSense (and DNS, gateway, etc) and then when clients visit with a browser a http page (never ever https !!) then … the captive portal page pops up.
    Like that.

  • Pfsense 2.3.0 problem

    2
    0 Votes
    2 Posts
    2k Views
    GertjanG

    Hi,

    Don't keep that old version, get a most recent version 2.3.2

    2.3.2-RELEASE-p1 (amd64) built on Tue Sep 27 12:13:07 CDT 2016 FreeBSD 10.3-RELEASE-p9

    pfSense can not be 'hacked'.
    Said otherwise : you have a 0,000001 % chance that the guy takes down your system and a 99,99999 % chance that your 'setup' is … well .. how to say it : "not Ok".

  • 2.3.2 version by pass cp with squid

    5
    0 Votes
    5 Posts
    642 Views
    E

    sorry gertjan  if  deactive squid cp running normally
    this problem squid-into-captive portal-integration problem.

    Screenshot_2.png
    Screenshot_2.png_thumb

  • Pfsense 2.3.2 relese

    2
    0 Votes
    2 Posts
    524 Views
    GertjanG

    @Aliabro:

    halloo frinds i need some help for my pfsense my problin is i am use pfsens captvel portol and use username and password all user and mac address on all user mobiles i at the all user expire date that is working fine off to user his date of expire but mac address is not off the user and net is workig on user mobile i go to manualy mac address and delte on user mac address and net is off on user mobile i need to mac address working on username and password expier date off the net on user
    :(

    What I made of it :
    One user doesn't gets disconnected.
    Right ?
    :)

    Btw : the captive portal always uses the MAC address as a device identification.

  • Why logout popup windows doesn't appear

    7
    0 Votes
    7 Posts
    3k Views
    GertjanG

    @watabigeye:

    @Gertjan:

    @watabigeye:

    ..
    Hi, How to put this in the CP?

    By default, this https://github.com/pfsense/pfsense/blob/master/src/etc/inc/captiveportal.inc#L294 IS present in the default 'login page'.

    If you build your own login page, reuse the code  ;)

    You mean, I will copy and paste the whole code and upload it in the captive portal login page?

    You don't need to upload the 'html page' that is already there.

    Only if you decide to make your own login page (html, some PHP, some Javascripts, whatever) THEN you should make one, and upload it.
    If it doesn't work, make it work (or go back to the default page).

    Btw : You can never ever force a browser to show a popup page - most users have this disabled, and YOU can NOT control THEIR browser.
    You could try to explain to your visitors that they should accept popups when using YOUR portal page - but guess what ? :
    -> People don't read
    -> If they read, then they don't know how to make an exception for your portal page …
    -> So yes, they can't logout. (pfSEnse will end the session after a idle timeout or the HARD time out for sure).

    A simple solution might be (if you need them to disconnect because your are selling the access for big bucks) :
    Set the idle time very low (a couple of minutes).
    Explain people that they should deactivate their wifi (just de wifi access - most devices have a slider or a button for that) a couple of minutes, then pfSense well ditch their session (connection). Most people can handle that.
    If not, well, THEY will consume some more time ...... (so they loose some more money ..... and NOW you have their attention ! )

  • Simple updated CP page - voucher?

    2
    0 Votes
    2 Posts
    599 Views
    GertjanG

    @beamen:

    Setting up a CP with pfSense but the stock login is pretty horrible and I have no need for username and password.

    Anyone have a basic login page for voucher only?

    Just edit the default html login code, keep only the voucher related input.
    Upload your 'own' html file - test and done ;)

  • PfSense boot hangs at "starting captive portal" for quite some time

    3
    0 Votes
    3 Posts
    3k Views
    L

    @Gertjan:

    What about saving your config first, and then you empty that list.
    Reboot.
    Check if this related to the boot time.
    Then re - import config.

    That's an idea, yes.  But I'd like to avoid doing that.  I'm moreso just curious what it's doing during this time, if it's normal, and if a newer version of pfSense still takes as long to start Captive Portal.

  • Pfsense login require for registered user

    2
    0 Votes
    2 Posts
    524 Views
    GertjanG

    @ishtiaqaj:

    now some client complain with some AP's they require to login again but with some AP's they don't need to login, although i have enable the enable pass through MAC in setting.

    To many 'some' here.
    Remember :We don't know anything about your setup.
    First determine :
    Who are these clients : voucher / device used / etc.
    And which AP's work well, which don't.

    It's seen often that an AP is in router mode ….. then exactly what you described happens ... but : this is only one possible erroneous situation, other can exist.

  • PROBLEM WITH ENABLING CAPTIVE PORTAL..

    5
    0 Votes
    5 Posts
    952 Views
    W

    Hi, I'm also a newbie here.
    I already set my captive portal page and it works in a view only. but the problem is I want the page will pop up automatically.

    thanks

  • Cp with custom login site

    2
    0 Votes
    2 Posts
    1k Views
    D

    Well, have you checked the source in your navigator ?
    Btw, what does firebug / inspect element say ?

    Also, you might check with a .php extension instead of html.

    At last, maybe add at least the minimum required CP code, for testing purposes.

    Good luck.

  • Captiveportal idle timeout

    1
    0 Votes
    1 Posts
    702 Views
    No one has replied
  • Captive Portal on Bridge: Any alternatives?

    5
    0 Votes
    5 Posts
    1k Views
    DerelictD

    If you insert another device you are going to have another point of failure.

    I have no idea what to recommend since you haven't really given many details.

    I see no reason not to have pfSense behind the cisco if you need its portal capabilities. Use the DHCP server on pfSense or the DHCP relay to forward DHCP to the Cisco.

    I also see no reason not to replace the Cisco with pfSense unless it's terminating T1s or something.

    Only you know the requirements of your network unless you provide the details of what you are trying to do.

  • Another contruct

    1
    0 Votes
    1 Posts
    656 Views
    No one has replied
  • PfSense 2.3.2: Captive Portal + Non Transparent Squid3

    3
    0 Votes
    3 Posts
    3k Views
    K

    Can you send the configs you made to make this setup work? I've been figuring this setup for weeks now.

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