Automatic Quota Group Management
Posted: Fri Oct 19, 2012 3:14 am
I'm looking at creating a package (feel free to correct me if this isn't technically a package, I'm new to Gargoyle) at allows 'Users' (read NOT ADMIN) to register a device against their account/group. This would allow the management of Quota groups to be a bit more automated. When devices connect to the network for the first time, all traffic would be routed to a login page where they have to register the device against their "account", which would add that devices usage to their overall quota, which would have a limit.
These are roughly the steps/activities that are going to occur. Please note these are not always linear:
I'm new to Gargoyle, only really set it up for a friends share house about 2 months ago. Still trying to figure out some of the coding that's used in Gargoyle as should be able to utilise a number of the scripts already in place to actually do half these tasks.
Just posting this up so if anyone has any info that they think might help me along in this project, they could point me in the right direction. Also if there is something that already does this exact thing, let me know, cause that would be annoying to finish it up and have someone tell me it already exists.
Also if you like the idea let me know too
These are roughly the steps/activities that are going to occur. Please note these are not always linear:
- Trigger event for when a NEW device connects to the network and is provided an IP address.
- Set's all traffic to route to login page. (Separate from the default Gargoyle one)
- Script detects MAC/IP address
- Creates STATIC DHCP rule
- Removes IP from restriced routing rule
- Adds IP to the users quota rule
User Page (Other tasks they can do from the login page)- Add Device
- Remove Device
- Reset Password
- Subscribe to Email for Quota Notifications
I'm new to Gargoyle, only really set it up for a friends share house about 2 months ago. Still trying to figure out some of the coding that's used in Gargoyle as should be able to utilise a number of the scripts already in place to actually do half these tasks.
Just posting this up so if anyone has any info that they think might help me along in this project, they could point me in the right direction. Also if there is something that already does this exact thing, let me know, cause that would be annoying to finish it up and have someone tell me it already exists.
Also if you like the idea let me know too
