ssh redirect issue

I’m pretty new to this,so maybe I’m making a noob mistake, but I can’t find the answer to this anywhere. I’m trying to set up ssh access to the mikrotik from the internet through a different port than on the internal network. So for example externally I’ll ssh into it from port 2525 but internal Lan side I would ssh from the standard port 22. I’ve tried all sorts of nat rules and filtering ones. None have worked. Has anyone ever done this? Google gives no answers. Thank you

That’s not safe, don’t bother with it, better setup knocking before opening port 22 on wan interface.

http://mum.mikrotik.com/presentations/US10/discher.pdf

Interesting, but I wouldn’t be opening port 22 on the wan interface. I’d be opening some upper port and redirecting it to port 22 on the lan side. For some reason I can’t seem to do this or I’m not sure what the NAT rules are.

Mikrotik disabled redirection in ssh in Ros 4. In 5 it can be enabled but it has to be set by cli.

Thanks for the info. :smiley: Any idea how to set it?