Community discussions

MikroTik App
 
User avatar
arturportella
newbie
Topic Author
Posts: 46
Joined: Wed Oct 30, 2013 3:16 pm

How to block HTTP port scanner?

Tue May 17, 2016 4:26 pm

Hello!

I'm facing some dificulties to block external IP addresses from scanning HTTP ports on our network. We have a /24 subnet with valid IP addresses and all port scanners scripts works only for few ports. How can I create a rule to add src. addresses that scan my entire subnet at HTTP 80? I have a exception IP address that I use locally to manage my network at port 80. And of course, I don't wanna deny port 80 access to my customers, I just want to filter who is scanning my subnet or trying to open many 80 tcp connections at my entire subnet.

Thanks in advance :D
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7194
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: How to block HTTP port scanner?

Tue May 17, 2016 4:29 pm

You can look at "limit" and "dst-limit" parameters in firewall.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10533
Joined: Mon Jun 08, 2015 12:09 pm

Re: How to block HTTP port scanner?

Tue May 17, 2016 5:07 pm

You can also add a "honeypot", i.e. a system where nobody should be accessing port 80.
Best is that there is no DNS name for this address.
Then make a rule that adds the source address for those that access this port to an address-list, and a rule
that blocks all traffic from this source address to your entire subnet.

Once somebody tries to scan this system, they are locked out from your network.