I’m trying to create scripts for two virtual AP’s on my home network.
I want a script on/off (well a redirect)wifi script for child 1 and a different schedule for child 2.
Weekdays: Sunday - Thursday
7am on 9pm off - interface child 1
7am on 8pm off - interface child 2
Weekends: Friday and Saturday
7am on and 11pm off - for both children
But I would like redirect to a webpage with a little note from mom and dad 
I appreciate the help with this
Hi Chipper,
What you’re asking for is rather a firewall rule than actually turning the VAP on and off I suspect
This will allow the kids to still connect to the AP but they get reminded of their appropriate access hours.
If that’s your intent then you should have a reasonably straight forward task ahead of you (well, bearing in mind you may need to do a couple of funky things)…
The firewall rules (to the best of my knowledge) won’t be able to redirect a user to a specific URL, rather they could redirect web traffic to a specific IP and port. So to make this work you ideally need a webserver at home or control of one on the internet. If that’s possible do the following:
- Setup webserver with Child1 page on port 81;
- Setup webserver with Child2 page on port 82;
- Setup a NAT rule for traffic in on VAPChild1 with tcp dst port 80 to dstnat to webserver ip on port 81 - mark disabled;
- Setup a NAT rule for traffic in on VAPChild2 with tcp dst port 80 to dstnat to webserver ip on port 82 - mark disabled;
- Then use the schedule tool to enable the rule based on your requirements.
Thank you very much, I’ll give this some thought. I do have control of the webserver and is part of the same network. However, I would like to keep it simple as much as possible. Is it possible to achieve this setup using the hotspot feature?
Thoughts?
Thanks again;