Community discussions

MikroTik App
 
hawkeye000
just joined
Topic Author
Posts: 7
Joined: Thu Mar 08, 2012 9:44 am

Block all websites except few and allow other for some users

Fri Mar 09, 2012 10:19 pm

Please help me
I want to Block all websites except a few for some users and allow other to browse all net
 
tws101
Member Candidate
Member Candidate
Posts: 284
Joined: Thu Sep 08, 2011 11:25 pm

Re: Block all websites except few and allow other for some u

Sat Mar 10, 2012 12:22 am

 
hawkeye000
just joined
Topic Author
Posts: 7
Joined: Thu Mar 08, 2012 9:44 am

Re: Block all websites except few and allow other for some u

Sat Mar 10, 2012 7:28 am

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 :(
 
User avatar
JP_Wireless
Member Candidate
Member Candidate
Posts: 273
Joined: Thu Dec 13, 2007 4:31 pm
Location: Lagos Nigeria
Contact:

Re: Block all websites except few and allow other for some u

Sat Mar 10, 2012 9:24 am

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 :(
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.
JP Wireless:::
One Stop ICT, Alternative Power & Electronics Securities Solutions Provider!
Tel: +2348098798779, +2348055353151
http://www.jpwireless.net: Email: info[at]jpwireless.net
36, Diya Road, Gbagada, Lagos - Nigeria.
.
 
User avatar
perspetolis
Member Candidate
Member Candidate
Posts: 103
Joined: Tue Aug 02, 2011 9:08 pm
Location: Tehran
Contact:

Re: Block all websites except few and allow other for some u

Sat Mar 10, 2012 4:55 pm

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
---------------------------------------------------
Mohsen Farahani
MTCNA-MTCWE-MTCTCE
http://www.ipsolution.ir
 
hawkeye000
just joined
Topic Author
Posts: 7
Joined: Thu Mar 08, 2012 9:44 am

Re: Block all websites except few and allow other for some u

Mon Mar 12, 2012 10:35 am

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

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 ?????
 
tws101
Member Candidate
Member Candidate
Posts: 284
Joined: Thu Sep 08, 2011 11:25 pm

Re: Block all websites except few and allow other for some u

Mon Mar 12, 2012 10:13 pm

I have web proxy setup right now restricting different vlans blocking entire ranges. 192.168.3.0/24 for example.
 
hawkeye000
just joined
Topic Author
Posts: 7
Joined: Thu Mar 08, 2012 9:44 am

Re: Block all websites except few and allow other for some u

Tue Mar 13, 2012 8:02 am

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 :shock:
and i can't login to winbox until restarting the routerboard !!!
 
tws101
Member Candidate
Member Candidate
Posts: 284
Joined: Thu Sep 08, 2011 11:25 pm

Re: Block all websites except few and allow other for some u

Wed Mar 14, 2012 4:25 pm

Try denying all that is NOT your allowed ones. See if that works.
 
hawkeye000
just joined
Topic Author
Posts: 7
Joined: Thu Mar 08, 2012 9:44 am

Re: Block all websites except few and allow other for some u

Wed Mar 14, 2012 10:51 pm

Same thing web proxy doesn't work at any case :shock:
 
User avatar
mardawe
just joined
Posts: 17
Joined: Wed Mar 14, 2012 10:31 pm

Re: Block all websites except few and allow other for some u

Wed Mar 14, 2012 11:17 pm

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
You do not have the required permissions to view the files attached to this post.
MahmouD KhuffasH
PALESTINE


share your experience
 
tws101
Member Candidate
Member Candidate
Posts: 284
Joined: Thu Sep 08, 2011 11:25 pm

Re: Block all websites except few and allow other for some u

Wed Mar 14, 2012 11:41 pm

Are you setup like this
http://wiki.mikrotik.com/wiki/How_to_Bl ... sing_Proxy
That is working for me. Anything I block gets blocked.
 
hawkeye000
just joined
Topic Author
Posts: 7
Joined: Thu Mar 08, 2012 9:44 am

Re: Block all websites except few and allow other for some u

Thu Mar 15, 2012 9:22 am

Mr mardawe
So i wanna block 30 websites for 10 users .. i have to do this step 300 times ???
 
hawkeye000
just joined
Topic Author
Posts: 7
Joined: Thu Mar 08, 2012 9:44 am

Re: Block all websites except few and allow other for some u

Sat Mar 17, 2012 11:33 pm

up??????????
 
tws101
Member Candidate
Member Candidate
Posts: 284
Joined: Thu Sep 08, 2011 11:25 pm

Re: Block all websites except few and allow other for some u

Mon Mar 19, 2012 4:56 pm

hawkeye,

Just block the IP range and do it 10 times.

Who is online

Users browsing this forum: yanpi and 45 guests