Hi Lupe,

[category]
filter = node_info
operator = is
attribute = category
value = guest

[robert]
filter = node_info
operator = is
attribute = pid
value = robert

[arnaud]
filter = node_info
operator = is
attribute = pid
value = arnaud

[ludovic]
filter = node_info
operator = is
attribute = pid
value = ludovic

[derek]
filter = node_info
operator = is
attribute = pid
value = derek

[1:category&(robert|arnaud|ludovic|derek)]
scope = NormalVlan
role = staff

So each user (robert, ...) with a category guest will be forwarded to the staff vlan.


Fabrice

Le 2014-06-27 14:18, Lupe Silva a écrit :
Dear Packetfence team. Thank you for your great work. I installed 4.3 and I am using the vlan_filters.conf to help me with one of my previous issues.

I have one more request that could be a feature request with respect to vlan_filters

I have private vlan for our internal users and a guest vlan for guests. Guests have to register to even have access to the guest network. There are a few of our guests whom I would like to have access to our private network without having to create them an internal ID.
The process would be something like this:
User registers with the guest network (using email or sms).
In PF we go into that user and add something to their account, like in the custom fields. Then when the user logs in the vlan_filter would check the users attributes to determine if they need to be in a certain vlan.

Is this possible to do it today without major code change?

I am already looking to modify user_parser in pf::vlan::filter.


Lupe Silva



------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to