#!/bin/sh * 23 * * * iptables -t nat -D PREROUTING -p tcp --dport 80 -s 192.168.0.0/24 -j REDIRECT --to-port 3128 && service squid stop * 7 * * * iptables -t nat -A PREROUTING -p tcp --dport 80 -s 192.168.0.0/24 -j REDIRECT --to-port 3128 && service squid start