Community discussions

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

can't block anything

Mon Feb 12, 2007 2:08 am

hi
i read the manual for blocking .mp3 .avi

i di this do block mp3

[admin@MikroTik] ip web-proxy access> print
Flags: X - disabled, I - invalid
0 ;;; block telnet & spam e-mail relaying
dst-port=23-25 action=deny

1 url="add url=":\\\\.mp\\[3g\\]$" action=deny" action=deny


it did't block


help plz

and what the line be to block .avi and mpg and mpeg
 
ashisheitl
Member Candidate
Member Candidate
Posts: 115
Joined: Fri Dec 01, 2006 10:33 am

Mon Feb 12, 2007 5:46 am

Have u configured the Web Proxy Properly.
Please Forward the configuration..I will help u out.

Also Make sure that u have mentioned the Web-proxy IP and Port in your web-browser.

Web browser
--------------
Tools->Internet Options->Connections->LAN Settings
Enable Proxy Server Settings, Write down ur Proxy IP ana Port which u have configured in MT Web Proxy.

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

Mon Feb 12, 2007 8:09 am

thanx for ur replay

i cofigured the web proxy with these rules

[admin@MikroTik] ip proxy> print
enabled: no
port: 8080
parent-proxy: 0.0.0.0:1
maximal-client-connecions: 1000
maximal-server-connectons: 1000
[admin@MikroTik] ip proxy> ..
[admin@MikroTik] ip> web-proxy
[admin@MikroTik] ip web-proxy> print
enabled: yes
src-address: 0.0.0.0
port: 3128
hostname: "proxy"
transparent-proxy: yes
parent-proxy: 0.0.0.0:0
cache-administrator: "webmaster"
max-object-size: 15096KiB
cache-drive: system
max-cache-size: unlimited
max-ram-cache-size: unlimited
status: running
reserved-for-cache: 13447168KiB
reserved-for-ram-cache: 2048KiB


firewall
chain=dstnat src-address=192.168.100.0/24 protocol=tcp dst-port=80 action=redirect to-ports=3128


i didn't put any ip or port in web-browser for users
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26914
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Mon Feb 12, 2007 8:57 am

i think this is your problem:
[admin@MikroTik] ip proxy> print
enabled: no 
:)
 
ferry
Frequent Visitor
Frequent Visitor
Posts: 75
Joined: Mon Jan 15, 2007 11:59 am

Web-Proxy

Mon Feb 12, 2007 10:48 am

Maybe i can help u. ur configuration in ip - web proxy is right. You must see this rule to block mp3 (watch the order):

1. ip web proxy access> add url=":\\.mp\[3g\]$" action=deny
2. ip web-proxy access> add src-address=x.x.x.x/x action=allow // specific ip u want to allow download mp3

and then, don't forget to do this :

- ex : 3128 - port of your proxy
ip-firewall-filter
- chain=input dst-address="your ip" protocol=tcp dst-port=3128 (for example)
action=drop // deny rely to your ip port 3128

ip firewall-nat
- chain=dstnat in-interface=Internal protocol=tcp dst-port=80
action=redirect to-ports=3128


i wish u luck, :lol:
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26914
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Mon Feb 12, 2007 10:49 am

you must ENABLE webproxy
 
User avatar
samsoft08
Long time Member
Long time Member
Posts: 613
Joined: Sat Nov 26, 2005 10:52 pm

Mon Feb 12, 2007 9:16 pm

ENABLE it for god sake ...
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26914
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Tue Feb 13, 2007 1:16 pm

sorry, I see you have enabled webproxy. but your rule looks incorrect, too many slashes. you should type it like in this example:

[admin@MikroTik] ip web-proxy access> add url=":\\.mp\[3g\]$" action=deny

ferry already explained everything

Who is online

Users browsing this forum: anav, homelap2024, Josephny, Xman1 and 47 guests