Community discussions

MikroTik App
 
jtgiri
just joined
Topic Author
Posts: 8
Joined: Sun Oct 25, 2009 5:48 pm

Port scan issue

Sun Oct 25, 2009 5:53 pm

HI guys, I have following rules in my routerOS but port scans still seem to go through. I am using the router in bridge mode, Am I missing something ?


0 ;;; Drop scanners
chain=forward action=drop protocol=tcp psd=21,3s,3,1

1 ;;; NMAP FIN Stealth scan
chain=forward action=drop tcp-flags=fin,!syn,!rst,!psh,!ack,!urg protocol=tcp

2 ;;; SYN/FIN scan
chain=forward action=drop tcp-flags=fin,syn protocol=tcp

3 ;;; SYN/RST scan
chain=forward action=drop tcp-flags=syn,rst protocol=tcp

4 ;;; FIN/PSH/URG scan
chain=forward action=drop tcp-flags=fin,psh,urg,!syn,!rst,!ack protocol=tcp

5 ;;; ALL/ALL scan
chain=forward action=drop tcp-flags=fin,syn,rst,psh,ack,urg protocol=tcp

6 ;;; NMAP NULL scan
chain=forward action=drop tcp-flags=!fin,!syn,!rst,!psh,!ack,!urg protocol=tcp
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Port scan issue

Sun Oct 25, 2009 6:22 pm

Did you turn on "use-ip-firewall" under "/interface bridge settings"?
 
jtgiri
just joined
Topic Author
Posts: 8
Joined: Sun Oct 25, 2009 5:48 pm

Re: Port scan issue

Tue Oct 27, 2009 3:27 am

yes.
[admin@MikroTik] /interface bridge settings> print
use-ip-firewall: yes
 
jherrick
just joined
Posts: 20
Joined: Fri Aug 07, 2009 3:39 am

Re: Port scan issue

Tue Oct 27, 2009 4:00 am

maybe try the bridge firewall, for some reason i couldnt get the ip firewall to filter bridge packets.