• Weird captive portal behavior

    9
    0 Votes
    9 Posts
    2k Views
    DerelictD
    Asking for help with 2.0.1 is going to receive little feedback other than "upgrade then ask again." Nobody has a test environment for 2.0.1 to try things to help you. If you want to pay me US$2500 to setup and US$500/yr to maintain a 2.0.1 test environment plus US$100 per ticket, for which the accepted, billable answer might very well be "that's broken in 2.0.1. Upgrade."  PM me.
  • How to use the background picture to act as a button

    15
    0 Votes
    15 Posts
    3k Views
    E
    Sorted, here is the solution for future users looking to do the same….sorry to differ by the rest, but i find no pleasure in putting more misery into other people struggles, much better to write nothing at all than follow their truly horrible attitude....
  • Captive Portal Upload

    6
    0 Votes
    6 Posts
    2k Views
    S
    @SmartCodar: @Gertjan: Thanks Gertjan this worked very well Thanks, Can you please let me know which config file I need to use? Also does Write_Config can be called using a Cron? I mean without doing login or Authentication. @SmartCodar: Basically I need to Upload the Captive Portal Page pro-grammatically. ….. For example when PFSense System is rebooted. is there any way where I need to copy my Captive Portal Page Content file? I have tried to copy in \var\etc but it wont worked. Is there any additional step I need to do From how I understand it, when pfSense reboots, using PHP a script, use wget/ftp/curl/what-ever to 'import' a new html file, and write_config() it. See here https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/services_captiveportal.php#L447 The other way around: create a script (it can be on any device that can access pfSense**)  that accepts a $POST, so you can send ove new file - put it in the config,  write_config() and restart the captive portal service. ** if needed, you can decide to skip the entire GUI login protection. Remember, its PHP, your free to do what you want ;)
  • Voucher Manager

    6
    0 Votes
    6 Posts
    3k Views
    J
    Hi! First, I would like to say that this is a very beta version. All basic features are working fine, exept expiration date. This field will be used by bash or PHP script that will run daily (hourly?) and delete expired vouchers. Also, software are made in portuguese, but there's a file named 'pfvmanager.po' located in 'locale/en/LC_MESSAGES' ready for translation. If you wish, you can translate this file to your language and send to me :) And for the last: this is a free software, but you must keep credits in source code and footer page :) Instructions how to install are in my blog: https://www.jonis.com.br/2015/10/15/pfvmanager-vouchers/ Feel free to post bugs and feature requests in my projects page: http://projetos.jonis.com.br/projects/pfsense-voucher-manager
  • Last Activity IPFW

    1
    0 Votes
    1 Posts
    726 Views
    No one has replied
  • Https redirect with "no authentication" and redirection post "connect"

    2
    0 Votes
    2 Posts
    737 Views
    D
    It seems there's no way to intercept that behaviour. The browser start an https connection and wait for a valid certificate. So you can only send an invalid certificate and receive a cert error by enabling https login in captive portal. Without  https login the client browser will be stuck waiting for cert. It's an https design I see. But I still think that making an unexpensive or free project like captive portals with no authentication sould be possible. Instead with https you need a more complex infrastructure and management. You can't no more do that and forget it as you can expect from a free project. I wonder why no one ever put things that way. I love https but I think we should have a workaround maybe browser side. After all we want something legit. Just allow navigation with proper https after a splash page was shown. Not a real man in the middle workaround. Sorry for this question but I tought that it's too strange  that https don't allow redirect in any case. Never saw things that way before.
  • Windows Phone : Popup

    4
    0 Votes
    4 Posts
    1k Views
    D
    Yeah, should be msftncsi.com
  • Mac Address field has only 6 hex octets but i need 12 !

    9
    0 Votes
    9 Posts
    1k Views
    E
    No idea, the only thing i can be sure of, is that i didn't touch a single thing after the problem manifested itself, apart from switching off(yesterday) and on again(today) the machine, as i was looking for an answer before to possibly make things even worse by doing something wrong  :D
  • Customized #PORTAL_MESSAGE#

    8
    0 Votes
    8 Posts
    3k Views
    D
    @doktornotor: That's a version you should NOT be using at all due to numerou vulnerabilities and severe bugs. Let alone keep customizing it. Absurd. I understand, thanks. But this build has a lot of customization and I'm on the process of migrating them gradually.
  • [SOLVED] Store session data in radius database

    3
    0 Votes
    3 Posts
    951 Views
    T
    Thank you very much muswellhillbilly, after enabling the option in the portal worked perfectly.  ;D Really thank you for the help, ALL the information I need are stored in radacct table. =D Again thanks for the help, saved many hours of work debugging to find that little detail configuration. Sincerely Tácio Andrade.
  • Captive Portal not starting.?

    1
    0 Votes
    1 Posts
    785 Views
    No one has replied
  • Captive Portal doesn't show

    3
    0 Votes
    3 Posts
    827 Views
    The Computer GuyT
    Going back to basics first, with the captive portal disabled, can the VLAN access the internet? Without a connection to the internet behind the captive portal, the page will never load. (DNS)
  • Captive portal with mac pass through and still with a first redirection

    2
    0 Votes
    2 Posts
    597 Views
    DerelictD
    Nope. Code is on github.
  • Captive Portal Issue - SOLVED

    3
    0 Votes
    3 Posts
    986 Views
    GertjanG
    @jp_redbeam: We actually found the solution to the issue in: https://forum.pfsense.org/index.php?topic=62173.0 Be careful, that thread is talking about an issue that existed with a very old pfSense version. Most of the code has changed by now. (never ever use an old version - even experts don't)
  • Pre-authentication redirect is very slow - takes minutes

    4
    0 Votes
    4 Posts
    1k Views
    D
    Even better, you could get rid of Wordpress altogether…  :P
  • Captive Portal Only configuration pfsense + cisco switch + cisco router

    2
    0 Votes
    2 Posts
    1k Views
    DerelictD
    You need a small transit network between the 1941 and pfSense WAN.  Then you put your LAN users behind pfSense LAN.  You don't need an interface on LAN on the 1941. The captive portal has to be between the edge router and the clients. It can't just be some server sitting on LAN.
  • Collect email from captive portal.

    5
    0 Votes
    5 Posts
    3k Views
    The Computer GuyT
    This is something I had to look at for a customer last year, in the end I ended up using my website, and using a cURL command in PHP to log e-mail address into a MySQL database.
  • Is it possible?

    53
    0 Votes
    53 Posts
    11k Views
    E
    the answer is YES. im actually doing it. and also i use a wireless router after my pfsense and my devices redirects to captive portal (just not a dd-wrt tho) but still, i think pfsense will sill redirect devices to its captive portal. but to be sure, just turn off DHCP on your router then plug your pfsnse to one of your router's LAN ( again LAN not WAN) ports and you'll be good to go.
  • 2.2.4 Captive Portal SSL not work

    2
    0 Votes
    2 Posts
    1k Views
    GertjanG
    Using the default 'auto generated' certificate as an admin access, this is ok. You will see a big warning that the certificate isn't signed by a major 'certificate ware house', but, what the heck, you as an admin, you don't care. Using the same certificate for "guest access" (Captive portal) isn't ok. You will present these warnings to your guests , that's not good. You saw this https://forum.pfsense.org/index.php?topic=63791.0 - it will explain you how to get a REAL 'good' certificate for your Captive portal. If you're using https on captive portal, you do NOT want to use a self-signed certificate, but a real one. I'm using https login on my Captive portal for years now. Works great, and I use a certificate offered by StartSSL, costs 0 $ and just works (have to make a new one every year)
  • Reuse expire vouchers

    2
    0 Votes
    2 Posts
    575 Views
    GertjanG
    Well …. I guess you have your reasons to do so. /etc/inc/voucher.inc - look for "function voucher_write_used_db($roll, $vdb) {" and disable what it is doing ....
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.