Community discussions

MikroTik App
 
hobbes1069
newbie
Topic Author
Posts: 29
Joined: Sun Aug 16, 2015 3:43 pm

Trying to port forwarded ssh (port 22) to a NAT'd computer exactly like example, but it doesn't work.

Tue Aug 18, 2015 5:34 am

I am trying to forward port 22 to a local computer (192.168.0.2) and I'm following the example, http://wiki.mikrotik.com/wiki/Manual:IP ... forwarding pretty much to a T but not only does it not work on incomming connections but it breaks ssh'ing to the switch from inside.
[admin@MikroTik] > ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic 
 0    chain=srcnat action=masquerade out-interface=ether1-master-local log=no 
      log-prefix="" 

 1    chain=dstnat action=dst-nat to-addresses=192.168.0.2 to-ports=22 
      protocol=tcp dst-port=22 log=yes log-prefix="" 
What am I missing?

Thanks,
Richard

Device: CRS125-25G-1S-RM
Routerboard firmware: 3.24
RouterOS: 6.31
 
hobbes1069
newbie
Topic Author
Posts: 29
Joined: Sun Aug 16, 2015 3:43 pm

Re: Trying to port forwarded ssh (port 22) to a NAT'd computer exactly like example, but it doesn't work.

Tue Aug 18, 2015 3:45 pm

Well, now ssh'ing from an external network is working...
 
hobbes1069
newbie
Topic Author
Posts: 29
Joined: Sun Aug 16, 2015 3:43 pm

Re: Trying to port forwarded ssh (port 22) to a NAT'd computer exactly like example, but it doesn't work.

Tue Aug 18, 2015 3:47 pm

But I still can't ssh out or get to the router....
 
hobbes1069
newbie
Topic Author
Posts: 29
Joined: Sun Aug 16, 2015 3:43 pm

Re: Trying to port forwarded ssh (port 22) to a NAT'd computer exactly like example, but it doesn't work.

Tue Aug 18, 2015 4:04 pm

But I still can't ssh out or get to the router....
Never mind... It looks like sourceforge svn+ssh access is down right now.

Thanks,
Richard