Block Facebook dengan Iptables dan waktu
#!/bin/sh #/etc/init.d/bloc-fb # Description: blok facebook iptables -I FORWARD -p tcp -d 103.4.96.0/22 -j drop -m time --timestart 08:00 --timestop 11:30 --weekdays Mon,Tue,Wed,Thu,Fri pastikan timezone nya UTC seperti timezone nya kernel Ip facebook 103.4.96.0/22 204.15.20.0/22 173.252.64.0/18 31.13.24.0/21 31.13.64.0/18 66.220.144.0/20 69.171.224.0/19 69.63.176.0/20 74.119.76.0/22 bisa dilihat dari terminal #nslookup www.facebook.com respone #31.13.64.56 trus #whois 31.13.64.56 ip range 31.13.64.0 - 31.13.127.255 cari CIDR nya 31.13.64.0/18