Hi guys, I was trying to increase security on my router and I locked myself out.
The router Is working fine as before but I put a rule that drops input packets
from any IP. Now Its not physically accessible at the moment. Any way to
undo the changes or access the router without resetting it? If there is a thread
on the same Please direct me there.
use mac telnet, you need to have layer 2 access to router
Or the serial console - if your router has one.
And next time use safe mode:
http://wiki.mikrotik.com/wiki/Manual:Console#Safe_Mode
As a side note, be sure to release safe mode when your changes are done, otherwise when you log out of the router all of your changes are gone.
If only there were safe mode support in API and WinBox it would be really great!
Safe mode works in Winbox, but you have to enable and disable it via the Winbox terminal window - there is no GUI toggle.
But when you open a Terminal in Winbox and hit Ctrl-X and then make changes via Winbox and just close out and go back in the changes are reverted. Similarly they are committed once you hit Ctrl-X in the Terminal window again to close out safe mode.
Agreed on the API, though. It would be nice to start a transaction at the beginning of an API sequence and explicitly commit it at the end, and have everything roll back if the API session terminates before committal. Scripts can unexpectedly die when making API calls.
I managed to login by mac using winbox. I didn’t know there was a safe mode though.
Thanks for the reply.