I have several roommates who split my internet bill with me each month. On occasion they forget to pay me, and I have to pester them for the money.
If after 3 days of pestering they still haven't paid, I create a firewall rule in my unix based router that blocks traffic to their mac address. This proves to be very effective at getting delinquent roommates to pony up the cash.
How could I automate the adding / removing of a mac address to a firewall rule on the 3rd of every month? I'd like a simple way to unblock them for the rest of the month once they pay.
I'm currently using pfsense which has a captive portal module. I'm considering setting up a captive portal, none that I have looked at so far support the use case of granting access on a month by month basis.
How can I automate this process?