Community discussions

MikroTik App
 
haplessuser
just joined
Topic Author
Posts: 19
Joined: Tue Sep 27, 2016 10:06 pm

Mikrotik Access Hardening

Sat Oct 29, 2016 3:36 am

Has any one written a script to secure the mikrotik from unauthorized access attempts? Part of the issue is that the mikrotik listens on all public interfaces. Most commercial routers have some facility like Juniper's implicit deny or Cisco's vty "funneling". It would be pretty easy to have a static list of authorized administrator IPs, and you can have a firewall rule that says all traffic forwarding to 'list of all directly connected interface IPs" that does not equal your list "approved admin IPs", gets dropped. The issue I'm running into is generating a script to keep that "list of all directly connected interface IPs" current.

Effectively, I need to take the IPs from /ip address print, and append them to /ip firewall address-list (pending they aren't already present).
 
User avatar
rcourtney
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Wed May 22, 2013 10:55 pm

Re: Mikrotik Access Hardening

Sat Oct 29, 2016 5:46 am

We like port knocking. You must access a port other than your desired port to load the list then test to see if you are in the list before accepting.
If someone is scanning ports around the knocked port, you clear the list.

See old MUM presentations for details.

Who is online

Users browsing this forum: No registered users and 8 guests