Netgate SG-1000 microFirewall

Author Topic: prb of 1 voucher used by multiple users  (Read 139 times)

0 Members and 1 Guest are viewing this topic.

Offline livirix

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
prb of 1 voucher used by multiple users
« on: February 06, 2018, 01:22:55 pm »
hey

can you help me please i have install pfsense and even in 2.3 or the last ver 2.4.x when i activate vouchers
i saw that one voucher can be used by multiple users and i want to use one voucher for one device  and thanks

Online Gertjan

  • Hero Member
  • *****
  • Posts: 2425
  • Karma: +191/-9
    • View Profile
Re: prb of 1 voucher used by multiple users
« Reply #1 on: February 06, 2018, 04:02:05 pm »
Hi,
This one is checked ?

Offline livirix

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: prb of 1 voucher used by multiple users
« Reply #2 on: February 06, 2018, 06:09:27 pm »
first thank  you a lot for replying me
because the solution it's very important for me

i will explain more :
even with a new installation and with the default website page of pfsense the prb happen
if i don't check the concurence :
-if i write a wrong voucher give me invalid code (it's ok)
-if i write a correct voucher it give me access to the internet (it's ok) but if i give the same voucher to another it give him access to the internet like all people can connect with one voucher

-if the concurrence checked
-i write the correct voucher it give me access to the internet and when i give it to another he can get connect but my device disconnect like the portal accept the last device connect with the voucher ( i make it as a temporary solution )

before someone help me because what i want is one voucher for every  device

Online Gertjan

  • Hero Member
  • *****
  • Posts: 2425
  • Karma: +191/-9
    • View Profile
Re: prb of 1 voucher used by multiple users
« Reply #3 on: February 07, 2018, 02:57:11 am »
Thus, checking
Quote
Concurrent user logins
Disable Concurrent user logins If enabled only the most recent login per username will be active. Subsequent logins will cause machines previously logged in with the same username to be disconnected.
will do the job.

Explain to the users of your vouchers that they should consider voucher codes as credit cards - passports or very personal private info.
And guess what, they even do not really need to understand what you tell them : as soon as they communicate their voucher code to some one else, and the code is used by this other person, they will lose the usage of this voucher, and they are disconnected. Good for them, they shouldn't share vouchers. You can see what happens, btw, and 'punish' them (by not given a new voucher).

On the other hand, users (not kids, adults) often have more then one device. They can use the voucher code on one device, like a smartphone, and then on another device like a laptop. All this with one voucher - and only one device will be connected at all times.

Btw : what you want is locking the voucher code down to one device, and not have it muted to another device afterwards if it is used again on another device.
This is possible, and needs some rewriting here : /etc/inc/captiveportal.inc - look for the function portal_allow(...). (completely non-supported of course  ;))

« Last Edit: February 07, 2018, 09:40:40 am by Gertjan »

Offline livirix

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: prb of 1 voucher used by multiple users
« Reply #4 on: February 07, 2018, 07:39:00 am »
thanks for your help
but i can not force people to private their vouchers or to hide it
 
-by default pfsense don't accept this option ? ( to let two person access with the same voucher ) ?!!

- and what you want to mean by need some write in /etc/...... ( completely non-support ...) ?!!

because i need to activate one voucher for one device for one time and eney other device can't get connect with the same voucher

Online Gertjan

  • Hero Member
  • *****
  • Posts: 2425
  • Karma: +191/-9
    • View Profile
Re: prb of 1 voucher used by multiple users
« Reply #5 on: February 07, 2018, 09:46:33 am »
thanks for your help
but i can not force people to private their vouchers or to hide it
Explain them vouchers are for private use. Like credit cards, passports and cash money. If they loose them, well .... they can't use them anymore.

-by default pfsense don't accept this option ? ( to let two person access with the same voucher ) ?!!
Exact, it's one user at the time, or many users.

- and what you want to mean by need some write in /etc/...... ( completely non-support ...) ?!!
because i need to activate one voucher for one device for one time and eney other device can't get connect with the same voucher
Never mind.
What you asked doesn't exist. Maybe you should drop in a feature request.


Offline livirix

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: prb of 1 voucher used by multiple users
« Reply #6 on: February 07, 2018, 02:18:16 pm »
but the first time i was installed it was good with 2.3
the voucher used for one person and if he give it to another pfsense tell him invalid password
i don't know why know don't work with me !! even i didn't change eneything in configuration !!!! :-\ :-\ :-\

Offline The Computer Guy

  • Jr. Member
  • **
  • Posts: 61
  • Karma: +1/-0
    • View Profile
Re: prb of 1 voucher used by multiple users
« Reply #7 on: February 10, 2018, 01:28:21 am »
Set the voucher to expire after one minute, and use MAC Authentication.

But you will then need to actively delete the authenticated MAC users.

Offline livirix

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: prb of 1 voucher used by multiple users
« Reply #8 on: February 10, 2018, 03:33:02 am »
thank you the computer guy
but i just want to know why it was working with me for the first time i was used pfsense 2.3
but tomorrow when i make the same installation it's not working !!!!!!
is it changed by pfsense !!!!

because this solution it's not good for my situation because i set a voucher for
-one day
-week
-month