Community discussions

MikroTik App
 
wilsongamo
newbie
Topic Author
Posts: 45
Joined: Thu Jan 22, 2015 1:22 pm

how to block discovery on mikrotik

Thu Jan 22, 2015 1:32 pm

Hi,
I wanted to know how to block discovery with WinBox on some machine on my network

add action=drop chain=input disabled=no dst-port=8291 protocol=tcp src-address=!ip
Its working fine for IP but you can still connect by mac address
Thanks
 
bingo220
Member Candidate
Member Candidate
Posts: 126
Joined: Sun Sep 22, 2013 9:30 pm
Location: Ukraine

Re: how to block discovery on mikrotik

Thu Jan 22, 2015 2:47 pm

if i'm right you need to block (udp)5678.
 
wilsongamo
newbie
Topic Author
Posts: 45
Joined: Thu Jan 22, 2015 1:22 pm

Re: how to block discovery on mikrotik

Thu Jan 22, 2015 3:08 pm

i try this
"
add action=drop chain=input disabled=no dst-port=5678 protocol=tcp src-address=!ip "
its not working
 
wilsongamo
newbie
Topic Author
Posts: 45
Joined: Thu Jan 22, 2015 1:22 pm

Re: how to block discovery on mikrotik

Thu Jan 22, 2015 3:23 pm

i try to block this port but it not working
 
User avatar
gabrielpike
Frequent Visitor
Frequent Visitor
Posts: 86
Joined: Thu Apr 17, 2014 4:17 pm

Re: how to block discovery on mikrotik

Thu Jan 22, 2015 4:17 pm

I think you are using the wrong protocol.

add action=drop chain=input disabled=no dst-port=5678 protocol=tcp src-address=!ip

Change to this:

add action=drop chain=input disabled=no dst-port=5678 protocol=udp src-address=!ip


You can use the address list but I usually block this traffic based on inbound port.
 
clubs
just joined
Posts: 7
Joined: Tue Jan 06, 2015 1:20 pm

Re: how to block discovery on mikrotik

Thu Jan 22, 2015 5:11 pm

Also have a look at the Tools-> MAC Server section.
 
plisken
Forum Guru
Forum Guru
Posts: 2511
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: how to block discovery on mikrotik

Thu Jan 22, 2015 6:17 pm

Is your problem solved?
So "yes" can you tel how?
 
User avatar
hossain2004a
Member Candidate
Member Candidate
Posts: 247
Joined: Mon Dec 22, 2014 7:34 pm
Location: Iran

Re: how to block discovery on mikrotik

Thu Jan 22, 2015 8:31 pm

There is no need to write a rule.

IP / Neighbor List / discovery interface
disable all interfaces.

Also maybe you wanted to write a rule, I tried to block SSH :D :D and it block discovery :D
 
plisken
Forum Guru
Forum Guru
Posts: 2511
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: how to block discovery on mikrotik

Thu Jan 22, 2015 8:54 pm

This working indeed.
Many thanks
 
wilsongamo
newbie
Topic Author
Posts: 45
Joined: Thu Jan 22, 2015 1:22 pm

Re: how to block discovery on mikrotik

Fri Jan 23, 2015 10:59 am

Is not working wich Mac address i put a good protocol (udp) and good port for discovery and Mac 20561, 5678
But its not working .
when I block the interface it work but I want to make rules