Bloquear Facebook por Horas en GNU/LINUX - IPFIRE
Saludos estimados,
Aquí les dejo como bloquear Facebook(u otra pagina) por horarios:
iptables -I FORWARD -d 192.168.0.0/24 -p tcp -m string --string "facebook.com" --algo kmp -m time --timestart 15:00 --timestop 22:00 --kerneltz -j DROP
iptables -I FORWARD -s 192.168.0.0/24 -p tcp -m string --string "facebook.com" --algo kmp -m time --timestart 15:00 --timestop 22:00 --kerneltz -j DROP
iptables -I FORWARD -d 192.168.0.0/24 -p tcp -m string --string "facebook.com" --algo kmp -m time --timestart 6:00 --timestop 13:00 --kerneltz -j DROP
iptables -I FORWARD -s 192.168.0.0/24 -p tcp -m string --string "facebook.com" --algo kmp -m time --timestart 6:00 --timestop 13:00 --kerneltz -j DROP
Notas:
--kerneltz
Esta opción toma la fecha propia del comando "date" no en el horario UTC
- bitfrost's blog
- Login to post comments
- 8308 reads
Comentarios recientes
8 years 36 weeks ago
9 years 8 weeks ago
9 years 8 weeks ago
9 years 8 weeks ago
10 years 23 weeks ago
11 years 31 weeks ago
11 years 31 weeks ago
11 years 32 weeks ago
12 years 27 weeks ago
12 years 35 weeks ago