Community discussions

MikroTik App
 
wissammohamed
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Jan 05, 2007 3:29 pm

what's wrong with these rules

Sun Feb 25, 2007 5:14 pm

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
 
wissammohamed
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Fri Jan 05, 2007 3:29 pm

Sun Feb 25, 2007 5:42 pm

any help
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Mon Feb 26, 2007 4:39 am

You should post in the correct forum and you might have better results. This is a scripting question.

Who is online

Users browsing this forum: No registered users and 42 guests