• Pfsense 2.2\. Captive Portal IPv6 Issue

    4
    0 Votes
    4 Posts
    1k Views
    D

    No, nothing changed in the past 58 days  ::)

  • 0 Votes
    4 Posts
    2k Views
    U

    Thanks. I manage to figure that out  :)

  • How does CP block internet access?

    5
    0 Votes
    5 Posts
    1k Views
    R

    Oh, I am so sorry. I should mentioned it before. Mine is 2.1.5-RELEASE
    And I found correct command.

  • Facebook, Twitter Apps Mobile cant redirect to Captive Portal

    2
    0 Votes
    2 Posts
    710 Views
    DerelictD

    No.  Captive portals have to be navigated with a web browser.

    Break the internet on purpose and you sometimes break the internet.

  • Captive Portal pass through for all possible users

    15
    0 Votes
    15 Posts
    4k Views
    M

    I can live with that.  Nothing good ever comes easily.  Thanks, Derelict!

  • Radius Authentication + Captive Portal + Mac Auth

    3
    0 Votes
    3 Posts
    2k Views
    C

    Fixed:

    I had multiple routes behind a VPC and behind an elastic IP.  the Elastic IP handled incoming, but the outgoing went through an invisible nat outbound.

    The server would answer on the EIP, but the response was sent through a different public IP,

    AWS doesn't allow hard binding to the public IP< so that was out of the question.  I remove the ECS away from the VPC and assigned the EIP to itself, and gave it another interface for database access.

    Problem resolved.

  • Help captive portal from scratch ver 2.2.2

    3
    0 Votes
    3 Posts
    634 Views
    GertjanG

    @chris4916:

    1 - Providing your WAN IP (furthermore this IP being in the RFC1918 range, meaning not being your real external IP) is useless and not required

    Very true.
    But be aware for that a new kind of user that exists: the one that checks

    Block private networks
    When set, this option blocks traffic from IP addresses that are reserved for private networks as per RFC 1918 (10/8, 172.16/12, 192.168/16) as well as loopback addresses (127/8).  You should generally leave this option turned on, unless your WAN network lies in such a private address space, too.

    and
    uses a IP WAN like 192.a.b.c (or 10.a.b.c) as WAN  ;D

  • Captive Portal, freeradius2 and Active Directory Auth

    5
    0 Votes
    5 Posts
    4k Views
    D

    CP + proxy -> completely broken. Plus, completely off-topic in this thread.

  • Fresh installed pfsense 2.2 - captive portal crashed.

    13
    0 Votes
    13 Posts
    3k Views
    D

    I removed the three installed packages ( freeradius2 , syslog-ng and vHosts ) and the error is gone.
    Then I installed the packages one at a time and restarted pfSense, after I installed the package vHosts (v. 0.7.5) the error reappeared.

    pfSense has detected a crash report or programming bug. Click here for more information. ... Crash report details: PHP Errors: [24-Apr-2015 16:21:22 Europe/Rome] PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /etc/inc/captiveportal.inc on line 2216 [24-Apr-2015 16:21:28 Europe/Rome] PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /etc/inc/captiveportal.inc on line 2229

    Follow the lines of code in the file captiveportal.inc ( from 2216 to 2236 ) where the error occurs

    2216    if (PEAR::isError($racct->start())) { $retvalue['acct_val'] = 1; $retvalue['error'] = $racct->getMessage(); // If we encounter an error immediately stop this function and go back $racct->close(); return $retvalue;         }         // Send request         $result = $racct->send();         // Evaluation of the response         // 5 -> Accounting-Response         // See RFC2866 for this. 2229 if (PEAR::isError($result)) {     $retvalue['acct_val'] = 1;     $retvalue['error'] = $result->getMessage();         } else if ($result === true) {     $retvalue['acct_val'] = 5 ;         } else {     $retvalue['acct_val'] = 1 ;       }

    I think the package VHosts ver. 0.7.5 must be updated to work with the new version of PHP 5.5.23

  • Import and sync users from AD to pfSense

    2
    0 Votes
    2 Posts
    1k Views
    GertjanG

    Writing a small PHP file that parses a CSV file, and imports it in local user manager.
    The CSV is the exported user list from your AD.

    Syncing password might be the only issue where one has to think.

  • Reverse Captive Portal?

    5
    0 Votes
    5 Posts
    3k Views
    C

    I'm not sure this is the only way  although it does work.

    I don't really understand what the initial problem is neither what additional authentication will bring but if this is what you want to deploy, why not looking at reverse proxy  ???
    I don't know what pfSense reverse proxy package provides (in term of feature) but the is a lot of reverse proxy implementations (Nginx, HAproxy Vulture) that may solve your problem, kind of  ;)

    Reverse proxy will prompt user for authentication. Most of then will allow you to select among various kind of authentication mechanisms and some will also add capability to create tunnelling and encryption  8)

    What I really mean here is that captive portal wording is meaningless here (to me) as there is nothing captive. User may decide to access or not your interface.

  • Captive portal voucher code authentication invalid credentials

    2
    0 Votes
    2 Posts
    946 Views
    GertjanG

    Create temporary a user+password using the Local User Manager (or use the admin account).
    Use the default html login page, where you can both enter a user+password or voucher code (both work at the same time).
    Login should work right away.

    A first attempt that doesn't work, and a second attempt that does work means that the voucher code is ok. There might be some 'html' or posting error.
    Mention what YOU changed from default … settings, etc.

    edit: You are aware that the current pfSEnse is 2.2.2 ? Using 2.1.4 means you are dealing with known bugs, and is normally reserved for experts who know how to deal with these.

  • Captive Portal can access my private network? Help

    2
    0 Votes
    2 Posts
    587 Views
    DerelictD

    Put rules blocking anything you don't want them to access before the pass rules on the interface captive portal is on.  This has nothing to do with the portal, but with your basic firewall rules.

  • Captive Portal PfSense Network

    5
    0 Votes
    5 Posts
    1k Views
    E

    Yes your DNS was wrong. Use pfSense as DNS server for your clients.

    For your current problem check your firewall logs.

  • Is it possible to redirect https-Traffic to the Captive-Portal-Login Page?

    10
    0 Votes
    10 Posts
    4k Views
    W

    Just this moment I tried to verify this with windows 8 and it works very well: As soon as i got connected to the pfsense-network, a Browser opens automatically with the Captive Portal site.

  • Captive portal and freeradius setup

    2
    0 Votes
    2 Posts
    771 Views
    GertjanG

    Strange …..

    Looking at this forum : pfSense Forum » pfSense English Support » Captive Portal (that is the forum where you posted !) there is a post named PFsense 2.1 MultiCP and https with Windows Radius Guide 
    There is also this : https://doc.pfsense.org/index.php/FreeRADIUS_2.x_package#Using_the_FreeRADIUS_2_Package:_Basics
    Even more : https://doc.pfsense.org/index.php/Using_Captive_Portal_with_FreeRADIUS

    More then enough to get you started.

    And when you install Google first, you even find more : Google : pfsense radius

  • Force manually expired voucher to renew dhcp lease

    11
    0 Votes
    11 Posts
    3k Views
    GertjanG

    The issue has been solved https://github.com/pfsense/pfsense/commit/ea6cbc390bba86336bf5a173922b20f0b3416c89

  • No redirection to captiveportal login page with CARP

    6
    0 Votes
    6 Posts
    1k Views
    R

    I don't know why but this doesn't seems to work for me.

    I don't see any answer from the CP (tcpdump on the network interface with port 8003 only shows clients requesting the vip).

  • Using DNS Resolver with CP

    3
    0 Votes
    3 Posts
    698 Views
    GertjanG

    Added to that:
    A Portal should be on its own interface.
    So, its has its own firewall - which should enable Internet access, and forbid any access the private lans or any  other interfaces.

  • Captive Portal for IPSec-connected guest network

    2
    0 Votes
    2 Posts
    773 Views
    S

    Hi,

    i am seeking for the same solution too, can you find any solution for this?

    thanks
    serhan

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