OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Voucher to MAC Binding
« previous next »
  • Print
Pages: [1]

Author Topic: Voucher to MAC Binding  (Read 2694 times)

ishtiaqaj

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Voucher to MAC Binding
« on: November 01, 2018, 01:58:13 pm »
dear all,

i am planning to switch from pfsense to opnsense. in my case i always creat 43200 mints vouchers and i want to enforce that one voucher always stays on same device. @fabian is there option in opensense that bind voucher to mac. so voucher work on same device always..
« Last Edit: November 01, 2018, 02:09:03 pm by ishtiaqaj »
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Voucher to MAC Binding
« Reply #1 on: November 01, 2018, 06:28:07 pm »
The vouchers are valid for any MAC as long as you don't use them. When you log into the network on the captive portal it may be bound since the captive portal seems to store some MAC addresses. (https://github.com/opnsense/core/blob/master/src/opnsense/scripts/OPNsense/CaptivePortal/lib/db.py). As far as I know, the CP has a feature for concurrent sessions, which may be very similar. Please note that I have not worked directly with the CP scripts and I don't expect that I will do soon.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Voucher to MAC Binding
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2