Community discussions

MikroTik App
 
farai
just joined
Topic Author
Posts: 1
Joined: Tue Jan 03, 2023 11:51 am

Cannot PING or access router after firewall filter

Tue Jan 03, 2023 4:18 pm

Hie Mikrotik family

I was working on some firewall configurations till l entered the command

"ip firewall filter add chain=input action=drop in-interface=[Interface Name]"

The interface name l entered was a running one and seems to have been allowing all traffic to the router. Since that command, l can no-longer access the router via web GUI and cannot even ping the router. I would like to know how l may regain access to the router and revert that change. I have tried telneting into the router (using default port 23) but that doesnt work as well.
 
Selbie
just joined
Posts: 11
Joined: Mon Feb 10, 2020 8:13 pm

Re: Cannot PING or access router after firewall filter

Sat Jan 14, 2023 3:47 am

You have probably locked yourself out; dropping every connection

You can try to connect to the webinterface from another interface.
If that doesn't succeed try either; the console / reset button.

Reset button will reset the whole configuration.

Note; in WinBox there is a safe-mode that might be handy to prevent this in the future
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11582
Joined: Thu Mar 03, 2016 10:23 pm

Re: Cannot PING or access router after firewall filter

Sat Jan 14, 2023 11:25 am

You can try using winbox and MAC connectivity - after (if) winbox discovers device, click on displayed MAC address instead of IP address. MAC connections are bypassing IP firewall (access control is configured elsewhere).
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19318
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Cannot PING or access router after firewall filter

Sat Jan 14, 2023 3:45 pm

This is why I created my off the bridge approach to configuring the router ( for beginners ).
Read this here so that when you reinstall your config, this will happen far less.....

I made this post just for you!! ( twas me in the past )

viewtopic.php?t=181718

Who is online

Users browsing this forum: Amazon [Bot], Google [Bot] and 20 guests