[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptable time module following incorrect time



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


Reply to: