PDA

Bekijk de volledige versie : iptables and time module



ovidiupys
21-01-2009, 15:56
Hi. I used this great firmware on wl500gp (worked fine). Now I intend to use it again. Please tell me if it has the time module enabled for iptables so that I can share my connection on a time limit base.

Thank you so much.

Tamadite
23-01-2009, 21:49
Try the following example:


iptables -A INPUT -p tcp --dport 80 -m time \
--timestart 04:00:00 --timestop 06:30:00 --days Fri \
--syn -j REJECT