Bash cron'd ipfw kid's bedtime rules


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. 0 21 * * 0-4 /sbin/ipfw add 1 deny all from 10.0.0.4 to any >/dev/null 2>&1
  2. 0 21 * * 0-4 /sbin/ipfw add 2 deny all from any to 10.0.0.4 >/dev/null 2>&1
  3. 0 5 * * 1-5 /sbin/ipfw del 1 >/dev/null 2>&1
  4. 0 5 * * 1-5 /sbin/ipfw del 2 >/dev/null 2>&1

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.