• pfSense Version 2.4.5_1,
    if Concurrency Logins enabled, if I try to use a voucher used by other, i can use and last client was disconnected.
    But, i need invert this.
    New user cannot use voucher, and last client stay connected.

    How to set First Login in Concurrent user logins

    Concurrent user logins
    Controls whether or not users are allowed to connect multiple times. This is not a total limit for the entire portal, but a per-account limit.

    May be set to one of the following:

    Disabled
    The portal will not allow concurrent logins for a user or voucher.

    Multiple
    (Default) The portal does not enforce any restrictions on concurrent logins by a user or voucher.

    Last Login
    The portal will only allow only one login per user account or voucher. The most recent login is permitted and any previous logins are disconnected.

    First Login
    The portal will only allow only one login per user account or voucher. The portal permits the first login and denies any subsequent login attempt.


  • Rebel Alliance

    Also, the new pfSense version (future 2.5.0 , which is currently in development but will be released in the upcoming months) will have a feature "block additional logins". You should give it a try...


  • I have 2.5-Development and Concurrent login feature is working very well. I've 2 Production sites up to 5000 captive portal users with no issue.


  • @wazim4u which version are you using. latest dev version are not working. it's not terminating new session.

    Jan 9 04:24:23 logportalauth 340 Zone: super_wifi - Voucher login good for 9999999981 min.: 44462626876454732675744, ee:ee:ee:ee:e0:0b, 192.168.1.105
    Jan 9 04:25:50 logportalauth 341 Zone: super_wifi - Voucher login good for 9999999980 min.: 44462626876454732675744, 00:0c:29:48:38:3c, 192.168.1.106
    Jan 9 04:26:12 logportalauth 28439 Zone: super_wifi - DUPLICATE 44462626876454732675744 LOGIN - TERMINATING OLD SESSION: 44462626876454732675744, ee:ee:ee:ee:e0:0b, 192.168.1.105

    Please upload your iso file & give link.

  • Rebel Alliance

    This post is deleted!

  • @ibabul89 I am on latest Development Release 2.5.0.a.20210107.2142

    Jan 11 14:31:15	logportalauth	51611	Zone: campco - CONCURRENT VOUCHER LOGIN - NOT ALLOWED KEEPING OLD SESSION : 4327883793, 44:59:e3:71:21:6a, 10.10.30.191
    Jan 11 14:31:15	logportalauth	51611	Zone: campco - Found NOT last: 4327883793, 44:59:e3:71:21:6a, 10.10.30.191
    Jan 11 14:31:15	logportalauth	51611	Zone: campco - config['captiveportal'][campco]['noconcurrentlogins'] 2 exists = set: 4327883793, 44:59:e3:71:21:6a, 10.10.30.191
    Jan 11 13:05:23	logportalauth	1891	Zone: campco - CONCURRENT VOUCHER LOGIN - NOT ALLOWED KEEPING OLD SESSION : 5726351542, 0c:d6:bd:f2:b4:f4, 10.10.9.242
    Jan 11 13:05:23	logportalauth	1891	Zone: campco - Found NOT last: 5726351542, 0c:d6:bd:f2:b4:f4, 10.10.9.242
    

  • @wazim4u can you please share your backup file with me.
    Please send mail my egp.docs@gmail.com


  • @wazim4u can you please share your backup file with me.
    Please send mail my egp.docs@gmail.com


  • @ibabul89 I cannot send Backup files for many reasons. You just need to make sure you have 2.5 Development version. if you are still on 2.4.5 you can upgrade it to 2.5 Development and then from Captive Portal Configuration you need to select concurrent login either disabled or First login. I have selected Disabled and its working without any issue.


  • @wazim4u just a question only. how do you manage the bandwidths for each users?how you handle 5000 users without any issues like slow browsing because it reaches total max speed. Is there any traffic shaping you're using? thanks!


  • @1ntr0v3rt3ch captive portal global traffic shaping configuration only. we limited each user to 3Mbps and never have issue with slow browsing. people do voice calls, same time they play games & YouTube never had any complaint sine 2 years.

    more smart way now a days is to control bandwidth from CLOUD Access Points you have per SSID & per User limit from AP itself instead of putting extra load on GATEWAY