Prb of 1 voucher used by multiple users
-
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 -
Hi,
This one is checked ?
-
first thank you a lot for replying me
because the solution it's very important for mei 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
-
Thus, checking
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 ;)) -
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
-
thanks for your help
but i can not force people to private their vouchers or to hide itExplain 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. - and what you want to mean by need some write in /etc/…... ( completely non-support ...) ?!!
-
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 !!!! :-\ :-\ :-\ -
Set the voucher to expire after one minute, and use MAC Authentication.
But you will then need to actively delete the authenticated MAC users.
-
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 -
This seems very unintuitive
I would expect there to be a global list of vouchers ad whe one is used it is removed from the list.
The session for that MAC would then continue until it timed out, at which time a new voucher (or a login) would have to be used.
If this si not what happens , then, what DOES it do? and what value is it?If my kids can share vouchers then I might as well turn off he whole feature.. the aim is to have them separate..