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 or register to post comments
- 5872 reads
Comentarios recientes
7 years 47 weeks ago
8 years 19 weeks ago
8 years 19 weeks ago
8 years 19 weeks ago
9 years 34 weeks ago
10 years 42 weeks ago
10 years 42 weeks ago
10 years 43 weeks ago
11 years 39 weeks ago
11 years 46 weeks ago