Page 1 of 1

what's wrong with these rules

Posted: Sun Feb 25, 2007 5:14 pm
by wissammohamed
hi guys
i use webproxt-test
in the proxy i blocked users to download video (avi , mpg .wma , wmv .... )

ip proxy access add path=avi action=deny
ip proxy access add path=:.mpg action=deny
ip proxy access add path=:.wma action=deny
ip proxy access add path=:.wmv action=deny



now i need to allow users to download these extension from 12am to 6am
so i scripted these rules and schedule it


[admin@MikroTik] > system script print
0 name="n3" owner="admin" policy=ftp,read,write,policy,winbox run-count=0
source=ip proxy access add path=:.avi action=allow

1 name="n1" owner="admin" policy=ftp,read,write,policy,winbox run-count=0
source=ip proxy access add path=:.mpg action=allow

2 name="n2" owner="admin" policy=ftp,read,write,policy,winbox run-count=0
source=ip proxy access add path=:.wma action=allow

3 name="n4" owner="admin" policy=ftp,read,write,policy,winbox run-count=0
source=ip proxy access add path=:.wma action=allow


and i

[admin@MikroTik] > system scheduler print
Flags: X - disabled
# NAME ON-EVENT START-DATE START-TIME INTERVAL RUN-COUNT
0 night n1\r\nn2\r\nn3\r\nn4 feb/24/2007 00:00:00 6m 7


what's wrong with these rules

Posted: Sun Feb 25, 2007 5:42 pm
by wissammohamed
any help

Posted: Mon Feb 26, 2007 4:39 am
by jwcn
You should post in the correct forum and you might have better results. This is a scripting question.