On 27/02/12 06:07, J. Bakshi wrote:
Hello,
I have the following to block facebook during 9 AM to 6 PM
``````````````
iptables -I FORWARD -p tcp -m multiport --dport 80,443 -d 69.171.224.0/19 -m
time \
--timestart 09:00 --timestop 18:00 -j REJECT
`````````````
But the time scheduled is followed incorrectly. The stat time activated at 1 PM
and the stop time
at 23 PM. What is the wrong with time module ? The server timezone is set to
Asia/Kolkata
Thanks
From man iptables:
"All times are interpreted as UTC by default."
--
Dom
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f4b3ef2.5030...@rpdom.net