Community discussions

MikroTik App
 
cenobyte
just joined
Topic Author
Posts: 4
Joined: Sun Apr 08, 2012 2:02 am

ssh redirect issue

Sun Apr 08, 2012 2:27 am

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
 
User avatar
acim
Member
Member
Posts: 415
Joined: Mon Sep 12, 2005 12:26 am
Location: Serbia
Contact:

Re: ssh redirect issue

Sun Apr 08, 2012 2:43 am

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
 
cenobyte
just joined
Topic Author
Posts: 4
Joined: Sun Apr 08, 2012 2:02 am

Re: ssh redirect issue

Sun Apr 08, 2012 6:53 am

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.
 
DynStatic
Frequent Visitor
Frequent Visitor
Posts: 92
Joined: Thu Feb 18, 2010 3:11 am

ssh redirect issue

Sun Apr 08, 2012 6:58 am

Mikrotik disabled redirection in ssh in Ros 4. In 5 it can be enabled but it has to be set by cli.
 
cenobyte
just joined
Topic Author
Posts: 4
Joined: Sun Apr 08, 2012 2:02 am

Re: ssh redirect issue

Sun Apr 08, 2012 7:55 am

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

Who is online

Users browsing this forum: Qanj72, raiser, slimmerwifi and 162 guests