Page 1 of 1

Opening firewall ports

Posted: Fri Feb 05, 2021 12:49 pm
by hiphap91
Hi there.

Pretty new to MikroTik, though I am very happy with my teeny tiny HAP2 router. I have a couple of questions, a specific one and a more general one.

First, how do I open (in a... *good* way) my ssh port, so I can ssh from a different network into my home network?

Second: How good are the default firewall settings, and should I do something to make it better?

Thank you for your time.

Re: Opening firewall ports

Posted: Tue Feb 16, 2021 4:09 pm
by anav
What do you mean SSH from a different network into my home network.

Do you mean from an external location (not behind the same router)?

If so recommend using VPN not SSH.

Re: Opening firewall ports

Posted: Wed Feb 17, 2021 4:14 pm
by own3r1138
use custom port for SSH set a private key for access and use some Bruteforce rule in firewall you can also restrict the remote IPs.

https://wiki.mikrotik.com/wiki/Brutefor ... prevention

Re: Opening firewall ports

Posted: Thu Feb 18, 2021 5:47 pm
by k6ccc
And to answer part two of your original question, yes the default firewall rules are fairly good for most purposes. If you are replacing a consumer grade router with a Mikrotik, the default configuration will work just fine. When you want to allow other stuff (such as your SSH question) is where the Mikrotik will shine.