Community discussions

MikroTik App
 
Theennd
newbie
Topic Author
Posts: 32
Joined: Mon Oct 03, 2016 8:24 am

How to block SMB protocol

Mon Jun 12, 2017 10:59 pm

Hi some of my ips sent bandwidth to ips with smb protocol and i want to block SMB on my network on mikrotik how can i do this ? i didnt see anything on this forum
You do not have the required permissions to view the files attached to this post.
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4047
Joined: Wed May 11, 2011 6:08 pm

Re: How to block SMB protocol

Mon Jun 12, 2017 11:50 pm

In the forwarding chain, add a rule which drops packet whose dst-port=445
 
Theennd
newbie
Topic Author
Posts: 32
Joined: Mon Oct 03, 2016 8:24 am

Re: How to block SMB protocol

Mon Jun 12, 2017 11:54 pm

In the forwarding chain, add a rule which drops packet whose dst-port=445
i do this but nothing happend smb steal open
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4047
Joined: Wed May 11, 2011 6:08 pm

Re: How to block SMB protocol

Mon Jun 12, 2017 11:57 pm

Make sure that the rule comes before any other rule that would accept the packets.

For instance, if there's a rule in the forward chain which accepts all packets when out-interface=WAN, and if this rule comes before (above) your "block SMB" rule, then the block rule is never going to get a chance to match because the firewall stops as soon as it matches a packet. (just drag your block rule higher up the list - (preferably after the "accept connection-state=established,related" rule)
 
msatter
Forum Guru
Forum Guru
Posts: 2942
Joined: Tue Feb 18, 2014 12:56 am
Location: Netherlands / Nīderlande

Re: How to block SMB protocol

Mon Jun 12, 2017 11:57 pm

I am puzzled by this and to me you are sending out to random addresses or to addresses that you are already were talking to.

viewtopic.php?f=13&t=121584&hilit=:445

Who is online

Users browsing this forum: GWarrior5595, Sandancetyres and 21 guests