Hi all,
I'm looking to find a way to add a node expiry time, or access duration to my 
vlan filter config. I currently have a working vlan_filter which autoregisters 
a device and sets the normal vlan and category based upon the eduroam realm 
name in the username, but if possible I'd like to unregister eduroam_visitors 
nodes after 30 days, and eduroam_home users after 90 days. Is this possible?

I looked at the portal profiles section, but I'm just using the default, and it 
doesn't seem to make any sense in my setup to use anything else. I'm also only 
using sources to give certain web admin rights to support staff, so again, this 
doesn't seem like the right way to do this, hence me looking at 
vlan_filters.conf.

My current vlan filter looks like:

[home_user]
filter = username
operator = match
value = ^(.+@cardiffmet\.ac\.uk$|.+@uwic\.ac\.uk$)

[visiting_user]
filter = username
operator = match_not
value = ^(.+@cardiffmet\.ac\.uk$|.+@uwic\.ac\.uk$)

[autoreg:home_user]
scope = AutoRegister
role = eduroam_home

[autoreg:visiting_user]
scope = AutoRegister
role = eduroam_visitor

[2:home_user]
scope = NormalVlan
role = eduroam_home
action = modify_node
action_param = mac = $mac

[2:visiting_user]
scope = NormalVlan
role = eduroam_visitor
action = modify_node
action_param = mac = $mac

Can anyone point me in the right direction here please?

Cheers,
Andi
________________________________

[Cardiff Metropolitan University - 150 years of nurturing 
talent]<http://www.cardiffmet.ac.uk/cardiffmet150>
------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to