How to block by file type using webproxy-test pack

i was used to do it by webproxy (squidbased) and worked

i tried that way in webproxy-test and doesnt worked

10                                 :\\.mp[3g]$                                                       deny   0         
11                                 :\\.zip$                                                          deny   0         
12                                 :\\.wm[av]$                                                       deny   0         
13                                 :\\.ez$                                                           deny   0         
14                                 :\\.hqx$                                                          deny   0         
15                                 :\\.cpt$                                                          deny   0         
16                                 :\\.dot$                                                          deny   0         
17                                 :\\.wrd$                                                          deny   0         
18                                 :\\.dms$                                                          deny   0         
19                                 :\\.lha$                                                          deny   0         
20                                 :\\.lhz$                                                          deny   0         
21                                 :\\.rar$                                                          deny   0

how can i do the same with proxy test?

out of curiosity - why do you deny zip and rar files :slight_smile: ?

coz i have a range of ip range ( group of consumers that pay less just for brownsing without download) but its not working the way i did before with webproxy ( squid based)

normis do u know how to do the same with webproxy-test access list?


that the way i did with web proxy squidbased
add url=“:\.mp[3g]$” action=deny worked like a charm but not in web proxy test.. can u help me? how the correct string…

/ip proxy access-list

doesn’t this work?

no :I take a look at the picture below if i did something wrong..
only the url blocking works, but the file block doesnt..

n1 can help?

  1. I assume web-proxy is enabled and all clients are served by web-proxy (browsers configured to, or transparent mode enabled).
  2. Post one or two entries from ‘access’ with full syntax.

you should put that in the ‘path’ not in the ‘dst-host’

thanks, lemme try this on path, thanks! be back in 10 minuts and sergejs it was forced to be transparent.

cant restart yet there are so many clientes online…

thanks serj uldis and normis, its working like a charm now!!