• [Ask] Captive Portal on Router Mode

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    S
    thanks @cmb
  • Not been able to get CP working on OPT1 tagged VLAN

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    N8LBVN
    Thank You.. I feel like a total idiot. I thought all along I had the DNS forwarder on but I had disabled it earlier as it wasn't needed before bringing up the CP. I also forgot that it is needed for the CP for obvious reasons URGH! Works great.. This thing (PFSense) is awesome we are starting to get some paid jobs because of how well done this is and how reliable it is and how impressive the user interface is. It's seriously the ONLY web interface I have ever used that I'd say was done right. I plan to be rolling in a year of PAID support with our next big job even if I could get away without it.
  • How do I get HTTPS CP login working across multiple interfaces?

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    C
    You can't make it resolve differently, it should work if you just add one of the internal interface IPs of the firewall as an allowed IP entry in CP and leave the DNS pointed to that.
  • Set pfsense captive portal in a hospital

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    A
    I don't usually post but I know this forum can occasionally be idle when you have an urgent need. How are you authenticating users?  Our users were skipping the authentication page until we found that PFSense was not authenticating with our RADIUS server. We are a Medical University using PFSense (2 NICS) with multiple AD servers configured to work with RADIUS.  We do not have any VLANS set for the traffic since our wired traffic is on a different network.  PFSense is also acting as the DHCP server.
  • Captive Portal break Ipsec Tunnels [SOLVED]

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    L
    I've specified the remote Nework 192.168.1.0/24 in the "Allowed IP Address" tab in the Captive Portal. Thank you so much. Luca
  • Open Registration for Captive Portal?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    jimpJ
    You can make a user in the User Manager, and if they only have the permission to "WebCfg - System: User Password Manager Page" then when they login to the GUI they only see a page to change their own password. You could make a group, add that permission to the group, and then for users you want to be able to change their own password, add them to that group.
  • Where is config CP? how to manual add interface to CP?

    Locked
    7
    0 Votes
    7 Posts
    2k Views
    E
    For now there is no other way supported. There were some fixes related to this in latest 2.0 branch of pfSense.
  • Captive Portal & DHCP Server

    Locked
    5
    0 Votes
    5 Posts
    7k Views
    A
    @cmb: You can use any DHCP server with captive portal. You do need to make sure you don't block your DNS server with captive portal, using the firewall's DNS forwarder will automatically work, but you'll need an IP passthrough in CP for the Windows server if you're using it for DNS and not having it forward its requests to the DNS forwarder. Many thanks for your suggestions ; I will try. What about the possibility of PFSense DHCP server to Update MS DNS Sever Records ? What do You think about it?
  • 0 Votes
    5 Posts
    3k Views
    C
    you have to allow Internet traffic below blocking everything to the interface IP.
  • CPU 100% CP active

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    W
    Please post the output of pfSense shell command top -S -H so we can see which processes are the major CPU users.
  • Captive Portal+Idle timeout

    Locked
    9
    0 Votes
    9 Posts
    8k Views
    D
    Ok, I made some changes over the configuration and until this moment is working: No timeouts (idle or hard) DHCP to /22 DHCP Lease to 48 hours For now, the DHCP server assigns new ips always, and still don´t assign a lease with a previous session opened in Captive Portal, then, all the sessions of old users are open yet. I´m waiting that when DHCP assign an ip previously used, and the users try to login in the CP, system automatically close the old session and open a new one. Are this a correct assumption? Thanks for your help.
  • Vouchers and user authentification at the same time?

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    N
    @krot: I can't find how to get this to work: In my system users should be able to choose either to enter a voucher or to enter their username/password. Cause i have two kind of users: Residents with an own username/login Guests however should be able to use the vouchers-system. If i enable vouchers in my CP users cant login with their usernames any more. Is there a possibility to have both at the same time? Yes, put the code of the voucher page and the username/password page together.
  • Captive Portal + GFI WebMonitor

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    ?
    You additionally have to put your wpad.dat on your Captive Portal Login Page as the first code. If someone opens a browser it asks for the wpad.dat file, witch can not be accessed because of the CP-Page. But if the wpad code is on yout CP-Login page it will be recognized as your wad.dat code.
  • Using Only Captive Portal Feature

    Locked
    13
    0 Votes
    13 Posts
    14k Views
    B
    Thanks again for sharing your ideas. Yes, there are lot of alternatives. Considering WPA2-PSK, it seems that long and random enaugh PSK is practically impossible to break. So, the simplest solution will be to have two SSIDs, connected to two VLANs - first for guests, opened at AP (no keys), and controlled by pfSense CP (vouchers), another one for employees with WPA2-PSK. Only problem is possibility that one employee gives key to others, but I think we can live with that. Another approach will be to have all traffic going via CP. On that way, only one SSID/VLAN would be sufficient. I don't know exactly how CP is working, but probably it stores IP/MAC of user which successfully authenticated by vouchers or user/pwd. If this is correct, then it seems to me that it will be easier to sniff IP/MAC combination, and possibly misuse it, then to break WPA2-PSK. But I'm just guessing, I'm really not security expert. Also, if using plain http for CP where users enter their username/passwords, I think that credentials can be sniffed quite easy if using http. If, on the other side, I force https at CP, then I will probably have some issues about deploying root certificate, especially on some smartphones, etc. I know that same applies to vouchers for guests, but vouchers validity is measured in hours, so if attacker even succeed to grab the voucher code, he can use it same day only. Credentials for employees should be valid for much longer time. So, these were just my ideas about various alternatives. At the moment, consdering all above, it seems to me that first alternative might be easier to configure and maintain, and "good enaugh" in my current scenario.
  • CP not work to Control Upload speed/control, while down rate is okay.

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Logout problem

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    N
    @wallabybob: It is not clear to me how the captive portal can determine the voucher is no longer in use (as distinct from 'the user is taking a snack break'). The only ways that CP recognizes that a voucher isn't online anymore is: 1.) The voucher runs into a timeout (Idle Timeout or Hard Timeout). 2.) You disconnect the voucher manually by hand using the GUI (Diagnostics -> Captive Portal) 3.) The user clicks the "logout" window. If you like that users will be disconnected when taking a break for lunch or something else set the idle timeout to 10 minutes. If you want to make sure that everybody gets disconnected one (or several) times a day choose hard timeout 180 minutes.
  • Captive Portal - Freeradius - Acct-Session-Time

    Locked
    4
    0 Votes
    4 Posts
    5k Views
    E
    Check out this https://redmine.pfsense.org/issues/2164.
  • Searching for a hack for changing Voucher to Online Time

    Locked
    22
    0 Votes
    22 Posts
    9k Views
    E
    Try this out https://redmine.pfsense.org/issues/2164 and let me know.
  • Php-mysql support + Radius database

    Locked
    6
    0 Votes
    6 Posts
    6k Views
    F
    @wallabybob: Does the SQL server need to be configured to allow access from the firewall? That was it. I needed to type this command when logged in to the MySQL server: GRANT ALL ON radius.* TO pfsense@'pfsenseIPADDRESS' IDENTIFIED BY "PASSWORD"; Thanks for the help! Also the test connection script need to be: mysql_connect("192.168.1.100","pfsense","PASSWORD") or die(mysql_error()); echo "Connected to MySQL "; mysql_select_db("radius") or die(mysql_error()); echo "Connected to database"; It couldn't find the hostname but works with the IP address instead.
  • Time schedule for captive portal

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    N
    @hendasa: Thanks for your help; I installed FreeRadius 1.1.8 package, I set up the online time for a  test  like ! "WK1200-1300", when I tested, I remarked that access to Internet is only allowed betwen 12h00 and 13h00, but if a user validated his access during that time, he can continue access to internet even after 13h00. Is there any solution to cut the access at 13h00 thanks. Hi, first you should use freeradius2 package instead because it is actively maintained and it supports much more features than freeradius1. second if you choose "Wk" then this is from monday till friday. Try with "Al1200-1300" which as far as I know means "every day". third: If you do not want to disable CP but blocking internet is enough the just create a shedule and set this shedule for a firewall rule which blocks/allows traffic.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.