Block all websites except few and allow other for some users

Please help me
I want to Block all websites except a few for some users and allow other to browse all net

http://wiki.mikrotik.com/wiki/How_to_Block_Websites_%26_Stop_Downloading_Using_Proxy

thanks dear
I can’t do it for my issue
Just i want to do :
1-Block all web sites except 30 for 10 users
2-Redirect which blocked to my company site
3-allow all web sites for another 5 users
I tried to use firewall .. layer7 .. web proxy .. but i faild :frowning:

You want to allow 30 websites for 10 users and give unlimited access to 5? what of other users? what wil they be doing on ur network?

Is it possible to seperate them using ip address, if yes, you can create firewall rule with the ip’s.

you will use webproxy access to redirect all users to ur company website.

hi
you can all your request with web proxy
The MikroTik RouterOS implements the following proxy server features:
1.Regular HTTP proxy
2.Transparent proxy. Can be transparent and regular at the same time
3.Access list by source, destination, URL and requested method
4.Cache access list (specifies which objects to cache, and which not)
5.Direct Access List (specifies which resources should be accessed directly, and which - through another proxy server)
6.Logging facility
for more help : http://www.mikrotik.com/testdocs/ros/3.0/pnp/proxy.php

dear JP_Wireless
This for example if i have 15 user on my network :smiley:

Dear perspetolis

Web proxy worked with one IP not for a list
so in this case i will make 30 record for every IP - as dst.address for websites -
at final i will have more than 300 record ???

I have web proxy setup right now restricting different vlans blocking entire ranges. 192.168.3.0/24 for example.

Dear tws101
Please tell me how can i do that !!!
I enabled web proxy and deny one IP for dst.address . but it still browse every thing :open_mouth:
and i can’t login to winbox until restarting the routerboard !!!

Try denying all that is NOT your allowed ones. See if that works.

Same thing web proxy doesn’t work at any case :open_mouth:

dear..

1-if you want to put an ip address that you don’t wanna to add this rule to him(with the ! mark)
2-the URL that you want to BLOCK
3-if you want to block a pic. or a type of file
4-you know it for sure.
5-put the url you want to redirect the user to it ,when the user opend a website or a pic that you blocked.

if you want to redirect the user to a page in the server just add the address of it.for example:

(your-servers-name).net/hotspot/access_blocked.html

i hope you’ll get use of these information
j.png

Are you setup like this
http://wiki.mikrotik.com/wiki/How_to_Block_Websites_%26_Stop_Downloading_Using_Proxy
That is working for me. Anything I block gets blocked.

Mr mardawe
So i wanna block 30 websites for 10 users .. i have to do this step 300 times ???

up???

hawkeye,

Just block the IP range and do it 10 times.