Community discussions

MikroTik App
 
omar87
newbie
Topic Author
Posts: 25
Joined: Fri Jan 08, 2010 8:28 am
Location: IRAQ - Oil Fields
Contact:

help on block sites from Mikrotik

Fri Jan 08, 2010 8:43 am

hi guys

I would like to Block some websites from my networks by using the mikrotik and I tried a lot with the ways in which I get it from the Internet but did not succeed with me

so I need your help guys to do that because my manager insists on this topic.

thanks
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: help on block sites from Mikrotik

Fri Jan 08, 2010 9:00 am

use webproxy for that, see manual of proxy for more details.
 
omar87
newbie
Topic Author
Posts: 25
Joined: Fri Jan 08, 2010 8:28 am
Location: IRAQ - Oil Fields
Contact:

Re: help on block sites from Mikrotik

Fri Jan 08, 2010 9:07 am

I tried but nothing happen with me!!!

I need the steps please
 
kirshteins
MikroTik Support
MikroTik Support
Posts: 592
Joined: Tue Dec 02, 2008 10:55 am

Re: help on block sites from Mikrotik

Fri Jan 08, 2010 9:09 am

 
omar87
newbie
Topic Author
Posts: 25
Joined: Fri Jan 08, 2010 8:28 am
Location: IRAQ - Oil Fields
Contact:

Re: help on block sites from Mikrotik

Fri Jan 08, 2010 9:47 am

when I set my port 8080 >> the internet service will be down
I tried before, so now I set the port 8000 as the manual in mikrotik document .

or should I set my port on 8080 ?

I appreciate your help
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: help on block sites from Mikrotik

Fri Jan 08, 2010 10:08 am

you can use what ever port you want to use, just make sure you use that port through out the configuration.
 
omar87
newbie
Topic Author
Posts: 25
Joined: Fri Jan 08, 2010 8:28 am
Location: IRAQ - Oil Fields
Contact:

Re: help on block sites from Mikrotik

Fri Jan 08, 2010 10:58 am

I attached image from my mikrotik just check the image and tell me wich port should i use because I tried winbox port and www. port and the both ports not work with the web proxy...

these all the ports I have in my mikrotik !!!
You do not have the required permissions to view the files attached to this post.
 
omar87
newbie
Topic Author
Posts: 25
Joined: Fri Jan 08, 2010 8:28 am
Location: IRAQ - Oil Fields
Contact:

Re: help on block sites from Mikrotik

Fri Jan 08, 2010 4:04 pm

ok every think going well with me , but i stuck in this point

ip firewall filter
add chain=input in-interface=<Your WAN Port> src-address=0.0.0.0/0 protocol=tcp dst-port=8080
action=drop


I need to know this point < Your wan port>. wich port meaning
and what src-address=0.0.0.0/0 what I should do it in this point wich IP I put it (ethr1 or ethr2 )

please advise
 
kirshteins
MikroTik Support
MikroTik Support
Posts: 592
Joined: Tue Dec 02, 2008 10:55 am

Re: help on block sites from Mikrotik

Fri Jan 08, 2010 4:24 pm

Leave "src-address=0.0.0.0/0" as it is and "<Your WAN Port>" means interface through which you are connecting to Internet.
 
omar87
newbie
Topic Author
Posts: 25
Joined: Fri Jan 08, 2010 8:28 am
Location: IRAQ - Oil Fields
Contact:

Re: help on block sites from Mikrotik

Fri Jan 08, 2010 4:43 pm

I stuck again here i don't know what the interface port mean ?

ip firewall filter
add chain=input in-interface=<Your lan Port> src-address=0.0.0.0/0 protocol=tcp dst-port=8080
action=drop
:?

advice please
 
omar87
newbie
Topic Author
Posts: 25
Joined: Fri Jan 08, 2010 8:28 am
Location: IRAQ - Oil Fields
Contact:

Re: help on block sites from Mikrotik

Sat Jan 09, 2010 10:00 pm

guys please help
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: help on block sites from Mikrotik

Sat Jan 09, 2010 11:12 pm

It's the name of the interface that traffic would be coming into.
 
omar87
newbie
Topic Author
Posts: 25
Joined: Fri Jan 08, 2010 8:28 am
Location: IRAQ - Oil Fields
Contact:

Re: help on block sites from Mikrotik

Sat Jan 09, 2010 11:17 pm

so should I write eth1 because my interface name is eth1 is that right ?
 
omar87
newbie
Topic Author
Posts: 25
Joined: Fri Jan 08, 2010 8:28 am
Location: IRAQ - Oil Fields
Contact:

Re: help on block sites from Mikrotik

Sun Jan 10, 2010 12:00 am

I tried but nothing happen so I attached the image shows what the problem with my router , please your response.
You do not have the required permissions to view the files attached to this post.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: help on block sites from Mikrotik

Sun Jan 10, 2010 12:18 am

That says you don't have an interface named 'eth1'. Look at '/interface print' to figure out your interface names.
 
omar87
newbie
Topic Author
Posts: 25
Joined: Fri Jan 08, 2010 8:28 am
Location: IRAQ - Oil Fields
Contact:

Re: help on block sites from Mikrotik

Sun Jan 10, 2010 12:46 am

thank you fewi for your advice, and thank to everyone help me i appreciate your advices >>> every thing going well with me and i start block the sites

Who is online

Users browsing this forum: Google [Bot] and 30 guests