4 ms·
Couldn't you just get a router running some type of *nix (pfSense, DD-WRT, etc) and accomplish this via cron? Maybe perform a dig on whatever API endpoints you
by alexjplant 5y ago
Couldn't you just get a router running some type of *nix (pfSense, DD-WRT, etc) and accomplish this via cron? Maybe perform a dig on whatever API endpoints you still want to talk to (PagerDuty, Slack) then have a set of ACLs that only allows traffic to those on the WAN interface during your "blackout" period?
- throwawayboise 5y agoDoes this really seem easier than a simple timer?
- sigg3 5y ago"When you have root, everything is a cron job." BSOH proverb
- xmprt 5y agoProbably not easier, but it is free and much more configurable.
- jedimastert 5y agoI get that learning is priceless and all of that good stuff, but at some point $5 is worth implementing an idea in 1 minute over several hours (assuming op actually has a router that's DD-WRT compatible)
- nemo1618 5y agoThis is peak Hacker News right here lmao
- nemo1618 5y agoTo elaborate on my snark, this doesn't work because: - Whitelisting my messaging app means I'd still get pinged for non-emergency messages - Enforcing the block at the software level makes it too easy for me to disable it when the temptation arises. My current setup forces me to walk upstairs, flip the switch, then wait multiple minutes for the router to boot. It would also take a lot more effort to set up, and time is money!