Skip to content

net/freeradius - custom default vlan-ID for mikrotik attributes #5397

@ibex73

Description

@ibex73

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

I found these issues with a similar topic:

  1. Custom attributes for freereadius #672 and net/freeradius: add mikrotik vlan support #673

  2. net/freeradius: options for fallback vlan #2566

  3. Freeradius - Add option for adding "accept all users" to users config #2722

  • When the request is meant for an existing plugin, I've added its name to the title.

Is your feature request related to a problem? Please describe.
I use the mikrotik vlan attributes in opnsense from (1) and it works as expected.
If I activate the checkbox for the VLAN-fallback from (2) all users without an entry in the radius database were assigned to my management-VLAN. I expect the reason ist the special Mikrotik VLAN attribute.
Is there also a way to assign a default VLAN id to a Mikrotik AP?

Describe the solution you'd like
I think it is only necessary to add a query in the users template to change the parameter for the fallback VLAN if the mikrotik attributes and the vlan fallback are activated in /ui/freeradius/general/index

I hope my explaination is clear and comprehensible.

Describe alternatives you've considered

  • a solution similar to the dhcp option in /ui/dnsmasq/settings#dhcpoptions to create every kind of parameter you want
  • Using a extern radius for auth a txt config in the worst case

Additional context
nothing for the moment, please ask if need some

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions