[NetBehaviour] bye bye internet-distraction, hello productivity... in linux
James Morris
jwm.art.net at gmail.com
Thu Nov 7 00:31:58 CET 2013
i came across the leechblock plugin for firefox the other day but never
tried it out because i wasn't satisfied i couldn't get around it quite
easily. instead i decided i should limit my internet access to ten minutes
in every hour. i've written some a couple of scripts to achieve this. the
first is a script to setup IPtables[1] firewall rules which will drop
internet/tcp traffic (but not ssh/etc traffic ;-)), which is called via
crontab[2] and the second script installs these things so you don't have to
pfaff about.
https://github.com/jwm-art-net/iptables_timely_block_rule/
Read the README for instructions:
https://github.com/jwm-art-net/iptables_timely_block_rule/blob/master/README
[1] IPtables is a user space application program that allows a system
administrator to configure the tables provided by the Linux kernel firewall
[2] Cron is a time-based job scheduler in Unix-like computer operating
systems.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.netbehaviour.org/pipermail/netbehaviour/attachments/20131106/780b4c5d/attachment.htm>
More information about the NetBehaviour
mailing list