• Open Website after connected to LAN

    2
    0 Votes
    2 Posts
    960 Views
    N
    This depends entirely on the client OS, not the firewall/captive portal.
  • Captive Portal template dialouge box for K-12 school

    8
    0 Votes
    8 Posts
    6k Views
    B
    Hello, We are currently running version pfSense-2.0.1-RELASE (which does have the "no authentication" radio button),,,,but more,,, wanted a "TOS" or "disclaimer"  to be displayed to our likeing, which wallabybob,,supplied. thanks, Barry
  • Secure Elements in Custom Captive Portal Page

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Signed SSL Cert for Captive Portal

    4
    0 Votes
    4 Posts
    5k Views
    DerelictD
    My initial thought is that, with some careful firewall rules, you might be able to use the same IP address for all your CP instances since they are differentiated by port numbers. I do know the ipfw rules initially fwd's CP traffic to 127.0.0.1:8XXX.  There would probably need to be some customization to make the httpd always use the same source address for all CP instances in its replies. That or forget about the DNS forwarder and put ISC BIND up instead.  You could easily make it return the correct A record based on the IP address of the resolver making the query. Or a wildcard cert. Or separate FQDNs/certificates for each CP instance.  Check out www.startssl.com.
  • Get to the authentication page from Pre-authentication

    2
    0 Votes
    2 Posts
    1k Views
    jimpJ
    Your pre-auth page needs a button or link to redirect -back to- the CP page, http://x.x.x.x:8000/index.php At that point they login to the CP auth page as normal.
  • Captive Portal Voucher CSV Space Bug?

    2
    0 Votes
    2 Posts
    1k Views
    jimpJ
    The contents of the .csv come straight from the voucher program so yes, it's most likely something in how that is formatted coming out of voucher.c.
  • Captive portal save

    1
    0 Votes
    1 Posts
    878 Views
    No one has replied
  • CP static routes

    2
    0 Votes
    2 Posts
    2k Views
    B
    Hello All, Replying to my own post. After looking at the CP log I did see an error being thrown in regards to "unable to determine mac filter". The error did suppest to "Disable mac filtering in the pfSense GUI,which I did. CP works fine after making this change. Thank You, Barry
  • FreeRadius2 + MySQL + Data Cap

    5
    0 Votes
    5 Posts
    5k Views
    V
    I finally got this sorted, and to help anyone else out here is what worked for me (i am writing this from home mostly from memory, but you will get the idea), most of what i have done is based on this link http://forum.pfsense.org/index.php/topic,57260.msg305604.html#msg305604 Get the basic captive portal and freeradius setup and make sure it works with local users. Install php-mysql support as detailed at the above link Edit the file /usr/local/etc/raddb/sql/mysql/counter.conf and replace with the contents of the one attached to this post. Edit /usr/local/pkg/freeradius.inc and add the counters from the counter.conf (DailyDataCounter, MonthlyDataCounter & NoResetCounter) to the "Instantiation" section of raddb.conf and sites-enabled default.conf. I removed the references to the other time based counters i.e. daily, weekly & monthly. This file needs to be modified otherwise any changes to the raddb.conf file will reset on a reboot Modify the default captive portal and error page with the one attached to this post and add the other attachents through captive file manager. Enable sql otherwise it will not be used Run the sql in the attached "SQL-Groups.txt" to create groups to assign amount of traffic. make sure the captive portal is set to auto authenticate every minute. In theory any one who connects through the captive portal will be asked to register, and they will by default have 30mb of daily download. This may not be the best way but and if anyone wants to correct me go for it as i just want to learn. (captiveportal-cp.css).txt (captiveportal-error.htm).txt (captiveportal-initial.php).txt (captiveportal-register.php).txt (counter.conf).txt (SQL-Setup.sql).txt
  • Redirect user or ip to a custom page?

    5
    0 Votes
    5 Posts
    1k Views
    jimpJ
    pfSense 2.2 will actually be gaining a "global MAC ban" tab in CP that will redirect certain users to a special CP page if their MAC is "banned" – that might get you partway there, but the code does not exist yet (it's sponsored, in the queue to be added)
  • Unable to get Portal Content Page

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Unable to redirect after authenticated

    7
    0 Votes
    7 Posts
    3k Views
    K
    I had upgraded to 2.0.3-RELEASE, but the issue still exists. Same log found in system log and portal auth log. Jul 29 14:17:09 php[16361]: : The command '/sbin/ipfw pipe 20001 delete' returned exit code '1', the output was 'ipfw: rule 1: setsockopt(IP_DUMMYNET_DEL): Invalid argument' Jul 29 14:17:09 php[16361]: : The command '/sbin/ipfw pipe 20000 delete' returned exit code '1', the output was 'ipfw: rule 1: setsockopt(IP_DUMMYNET_DEL): Invalid argument' Jul 29 14:17:09 php[16361]: : The command '/sbin/ipfw pipe 20001 delete' returned exit code '1', the output was 'ipfw: rule 1: setsockopt(IP_DUMMYNET_DEL): Invalid argument' Jul 29 14:17:09 php[16361]: : The command '/sbin/ipfw pipe 20000 delete' returned exit code '1', the output was 'ipfw: rule 1: setsockopt(IP_DUMMYNET_DEL): Invalid argument' Jul 29 14:17:09 php[16361]: : The command '/sbin/ipfw pipe 20001 delete' returned exit code '1', the output was 'ipfw: rule 1: setsockopt(IP_DUMMYNET_DEL): Invalid argument' Jul 29 14:17:09 php[16361]: : The command '/sbin/ipfw pipe 20000 delete' returned exit code '1', the output was 'ipfw: rule 1: setsockopt(IP_DUMMYNET_DEL): Invalid argument' Jul 29 14:17:09 php[16361]: : The command '/sbin/ipfw pipe 20001 delete' returned exit code '1', the output was 'ipfw: rule 1: setsockopt(IP_DUMMYNET_DEL): Invalid argument'
  • Squid3 and Captive portal Help

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • How 1 voucher lock to 1 MAC?

    4
    0 Votes
    4 Posts
    2k Views
    S
    @sdtelecom: Try to set the Maximum Concurrent Connections to 1. hope this helps This didnt helps. Minimum of value is 4, max 100.
  • 0 Votes
    6 Posts
    2k Views
    D
    Ok, Anyway it works now, that's the important thing.. ;D
  • 0 Votes
    6 Posts
    3k Views
    E
    Theoretically it's the same handling, but it works with 2.1 In 2.0.2 and 2.0.3 the last activity date isn't reseted nor updated always. So pfsense logouts useres just after login. I use an external Radius server for authorization.
  • Captive Portal and state tables

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Surf some page without authentication?

    3
    0 Votes
    3 Posts
    1k Views
    perikoP
    Got it, thanks wallabybob is working  ;D
  • Captive portal + radiun + Vlan dinamica + switch cisco 2960

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • CP not redirecting to port 8000!

    2
    0 Votes
    2 Posts
    1k Views
    S
    Replying to my own post: Turned out that indeed the layer 2 filtering was turned off! The culprit is: net.link.ether.ipfw!!! Once turned on:                         sysctl net.link.ether.ipfw=1 Everything just started working! The question is: Do I need to put this is /etc/sysctl.conf? /wai-sun
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.