Previously I worked with IP-filter, now I getting started with Mikrotik FW Filter.
Because I thinking of IP-filter basis, I’m sure that I made a mistake.
I have a problem with a firewall logging, allowed traffic also inserted into the log.
I want to just dropped package is placed into the log.
Firewall filter:
chain=input action=drop connection-state=invalid
chain=input action=accept connection-state=established
chain=input action=accept connection-state=related
…other rules…
chain=input action=log log-prefix=“Dropped input”
chain=input action=drop
The same way for:
output
then:
forward…
Log rule:
topics=firewall action: FWlog (to disk)
What went wrong?