• Error page could not view the image file

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    I
    The image is being pulled from a host which is accessible from behind the captive portal?  I would double check this.  Also, you might want to tail your web server log file while you load the page and see if you get any error messages associated with the request.
  • Time remaining popup window

    Locked
    8
    0 Votes
    8 Posts
    4k Views
    I
    I am querying a mysql server that is NOT running on the pfsense machine.  Pretty straightforward stuff.
  • Attacker

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    L
    hum.. looks like your "variable name"``` JiQlJzkkJzkkJj8mJjEnVScgMSdVICExI1cxI1cjJiUlIiYjICQsJiIsJCIkIiMxI1cxI1cnOiEl.MSNXMSNXJiQkMSNXMSNXfWA5XUAxI1cxI1ckMSRQMSRVJDEmJyAxI1cxI1clMSYnIScxI1cxI1cl.MSYnISMxI1cxI1cmMSYnISwxI1cxI1clMSYnIS0xI1cxI1clMSYnIiQxI1cxI1clMSYnIiUxI1cx.I1clMSYnIiIxI1cxI1clMSYnLCUxI1cxI1clMSYnLCMxI1cxI1clMSYnLCIxI1cxI1clMSYnJiQk.MSNXMSNXJjEmJyYlJDEjVzEjVyIxJicmJSExI1cxI1clJSMsLDEmJyYlIjEjVzEjVyUtJSwhJjEm.JyUkJCQxI1cxI1d9YA can be split in lines after the dots "." JiQlJzkkJzkkJj8mJjEnVScgMSdVICExI1cxI1cjJiUlIiYjICQsJiIsJCIkIiMxI1cxI1cnOiEl. MSNXMSNXJiQkMSNXMSNXfWA5XUAxI1cxI1ckMSRQMSRVJDEmJyAxI1cxI1clMSYnIScxI1cxI1cl. MSYnISMxI1cxI1cmMSYnISwxI1cxI1clMSYnIS0xI1cxI1clMSYnIiQxI1cxI1clMSYnIiUxI1cx. I1clMSYnIiIxI1cxI1clMSYnLCUxI1cxI1clMSYnLCMxI1cxI1clMSYnLCIxI1cxI1clMSYnJiQk. MSNXMSNXJjEmJyYlJDEjVzEjVyIxJicmJSExI1cxI1clJSMsLDEmJyYlIjEjVzEjVyUtJSwhJjEm. JyUkJCQxI1cxI1d9YA excluding the dots the line is 76 chars long (RFC 1521 states it have to be the length of base64 output stream). delete dots and pad it with "=" JiQlJzkkJzkkJj8mJjEnVScgMSdVICExI1cxI1cjJiUlIiYjICQsJiIsJCIkIiMxI1cxI1cnOiEl MSNXMSNXJiQkMSNXMSNXfWA5XUAxI1cxI1ckMSRQMSRVJDEmJyAxI1cxI1clMSYnIScxI1cxI1cl MSYnISMxI1cxI1cmMSYnISwxI1cxI1clMSYnIS0xI1cxI1clMSYnIiQxI1cxI1clMSYnIiUxI1cx I1clMSYnIiIxI1cxI1clMSYnLCUxI1cxI1clMSYnLCMxI1cxI1clMSYnLCIxI1cxI1clMSYnJiQk MSNXMSNXJjEmJyYlJDEjVzEjVyIxJicmJSExI1cxI1clJSMsLDEmJyYlIjEjVzEjVyUtJSwhJjEm JyUkJCQxI1cxI1d9YA== base64 decode and see what 'file' magic looks like: echo -n "JiQlJzkkJzkkJj8mJjEnVScgMSdVICExI1cxI1cjJiUlIiYjICQsJiIsJCIkIiMxI1cxI1cnOiElMSNXMSNXJiQkMSNXMSNXfWA5XUAxI1cxI1ckMSRQMSRVJDEmJyAxI1cxI1clMSYnIScxI1cxI1clMSYnISMxI1cxI1cmMSYnISwxI1cxI1clMSYnIS0xI1cxI1clMSYnIiQxI1cxI1clMSYnIiUxI1cxI1clMSYnIiIxI1cxI1clMSYnLCUxI1cxI1clMSYnLCMxI1cxI1clMSYnLCIxI1cxI1clMSYnJiQkMSNXMSNXJjEmJyYlJDEjVzEjVyIxJicmJSExI1cxI1clJSMsLDEmJyYlIjEjVzEjVyUtJSwhJjEmJyUkJCQxI1cxI1d9YA==" | base64 -d | file - /dev/stdin: Sendmail frozen configuration  - version ' 1'U !1#W1#W#&%%"&# $,&",$"$"# So it's not an attacker but maybe some users with the mail client hitting the Captive Portal.
  • Captive portal crash and status services status is wrong

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    jimpJ
    When running a -PRERELEASE, -BETA, -RC, etc, it is always best practice to update to the latest available version before posting/reporting issues.
  • Strange Log Messages Incorrect Mac

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    W
    My guess is that it is telling you 20034 and 20035 are not MAC addresses. What are you trying to do and why aren't you using the GUI to do it? (Changes made outside the GUI will not be preserved across reboot.)
  • Captive portal crashes randomly

    Locked
    7
    0 Votes
    7 Posts
    2k Views
    S
    You were right wallabybob, I wasn't using the correct image. SOLVED
  • Huge AcctSessionTime returned by pfsense

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    J
    Thanks for your reply. Both pfsense and the radius server itself are managed by ntp (pfsense relies on 2 external servers and the radius server on the ntp server of pfsense). The radius database server runs on a different machine. The database server's time keeping is less accurate, but I guess this is less relevant. Or is this a wrong assumption? Jan
  • Captive portal and port forward/NAT

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    jimpJ
    CP is blocking access to the port forward – it blocks inbound and outbound. You could add an "allowed IP address" entry for it but using only the "to" direction, then things can reach it from outside, but it can't get out itself.
  • 0 Votes
    7 Posts
    3k Views
    E
    where did you add this script? minicron says nothing to me.. i only know cron.
  • Can't change Maximum concurrent connections below 4 [Captive Portal]

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    J
    This setting limits the number of concurrent connections to the captive portal HTTP(S) server. This does not set how many users can be logged in to the captive portal, but rather how many users can load the portal page or authenticate at the same time! Default is 4 connections per client IP address, with a total maximum of 16 connections. I my system (2.0.1-RELEASE & 1.2.3-RC1 ) default is 4 and 1.2.3-RC1 i can chaged it to below 4. do i miss something?
  • Captive Portal - multiple VLANs

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    G
    Yea the more I think about it that is the only way I am going to get it to work.  I already have the radius server setup doing authentication for my wireless and it was my intent to use it for this as well.  Just thought captive portal may have been easier but I can't think of a way to do it since I can't have multiple trunks to the firewall with the same VLANs them.
  • Redirect without user action

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    C
    Well, we have several different set ups and scenarios. Not all of the locations require a Terms of Service and sometimes they do not want one! They just want the user to be directed to their website when they first connect to the wireless, but that's it. They want to advertise their website to the end users- not to create any sort of binding contract. While I do not recommend modifying pfSense unless you know what you're doing- and always recommend creating a backup before modifying any file(s), I'll share my personal work around: OPEN "/usr/local/captiveportal/index.php" FIND: LINE 228 } else { PASTE ABOVE THIS LINE: } else if (strpos($_GET['redirurl'], 'accept=yes') !== false && $clientip && $config['captiveportal']['auth_method'] == "none") {     captiveportal_logportalauth("unauthenticated",$clientmac,$clientip,"ACCEPT");     portal_allow($clientip, $clientmac, "unauthenticated"); SAVE THE FILE Now change your captive portal page to this: if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') { $url = "https://{$_SERVER['SERVER_ADDR']}:" . $_SERVER['SERVER_PORT'] . "/index.php?accept=yes"; } else { $url = "http://{$_SERVER['SERVER_ADDR']}:" . $_SERVER['SERVER_PORT'] . "/index.php?accept=yes"; } header("Location: $url"); ?> Then with Captive Portal enabled and "No Authentication" selected, the end user is authenticated and redirected to the "After authentication Redirection URL" just like I want! :)
  • CP restrict bandwidth by hostname

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    E
    Do not use mac address filtering and only base it on ip.
  • Log message lighttpd[52274]: (connections.c.305) SSL: 1 error:1

    Locked
    2
    0 Votes
    2 Posts
    7k Views
    E
    You are trying to redirect https connection to http server of pfsense. That is just an encrypted session trying to be forwarded by pfSense. Just ignore it for the moment since there is nothing to do about it.
  • CP logins but no network service

    Locked
    6
    0 Votes
    6 Posts
    2k Views
    E
    @wallabybob: @ellors: How do I change the thread title so it could say "[SOLVED]" ? I believe if the post is not "too old" you can modify it through the Modify menu item Mmmmm too bad that the first post does not show a Modify menu. Thank you for your suggestion.
  • Allowed hostnames/ip addresses for paypal sloooooow

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    I
    bump
  • Captive Portal input button - submit vs image

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    J
    Try applying a style to the button, instead of replacing it.
  • My Portal Pages

    Locked
    3
    0 Votes
    3 Posts
    5k Views
    V
    thanx for sharing.
  • Captive portal setting

    Locked
    20
    0 Votes
    20 Posts
    6k Views
    W
    @bikkerss: so both dns and gateway ? Yes. The gateway is the computer to which your computer forwards packets when your computer doesn't have a "direct" route. If the gateway is not the computer operating the captive portal then your computer can access the internet without going through the captive portal so the captive portal has no chance of controlling the access to the internet.
  • Captive Portal Login Probleme

    Locked
    9
    0 Votes
    9 Posts
    3k Views
    S
    @Nachtfalke: Don't know if this is related to CP MAC-Auth but just for information you need to do "Plain-MAC-Auth as 802.1X request" with CP :-) I tried both methods and the auth works with "Plain-MAC-Auth as 802.1X request". Only thing is that CP doesn't seem to 'unblock' traffic for that authenticated client. Username password auth works correctly and lets me surf the internet. Also tried 2.0.3 pre-release but no luck yet. Probably better if I start a new topic since I haven't found a similar topic yet and don't want to muck about in someone else's topic.  :)
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.