automatic "reverse" SSH tunnel script for remote access?
RouterOS Scripting and API

4 posts   •   Page 1 of 1
MartinGrill
just joined
 
Posts: 2
Joined: Mon Jul 11, 2011 10:45 pm

automatic "reverse" SSH tunnel script for remote access?

by MartinGrill » Mon Jul 11, 2011 10:55 pm

Hello,

We are planning to install a RouterOS router behind a DSL modem. The DSL provider only gives out private IP addresses (which are not publically routable), but we'd still like to be able to access the router's web interface remotely (i.e. from off-site).

For ordinary PCs we have (in the past) used a script that automatically establishes a reverse tunnel via SSH from the router to one of our servers. Does anyone know if a similar setup is possible with RouterOS?

Thanks

Martin

briencrean
just joined
 
Posts: 6
Joined: Fri Jul 29, 2011 11:42 pm

Re: automatic "reverse" SSH tunnel script for remote access?

by briencrean » Mon Nov 21, 2011 9:07 pm

Hi did you manage to get this working on your Mikrotik? This is exactly what I am also looking for to establish remote access to Mikrotiks.

Thanks
Brien

MartinGrill
just joined
 
Posts: 2
Joined: Mon Jul 11, 2011 10:45 pm

Re: automatic "reverse" SSH tunnel script for remote access?

by MartinGrill » Mon Nov 21, 2011 10:52 pm

They never implemented this. I've been using PPTP insteadt - works great.

CCDKP
Member Candidate
Member Candidate
 
Posts: 170
Joined: Sat Jan 29, 2011 12:24 am
Location: Midwest, United States

Re: automatic "reverse" SSH tunnel script for remote access?

by CCDKP » Tue Nov 22, 2011 6:23 pm

If the DSL modem performs PPPoE, most major models allow you to put them in to transparent bridge mode, at which point you can setup the PPPoE on the MikroTik and get your static IP directly on there. This has a number of nice advantages, but isn't always feasible.

When that doesn't work, you are absolutely right about PPTP tunnels, just make sure you have good firewall policies to restrict traffic, since the tunnel is a two-way street.
CC_DKP: MTCNA, MTCRE, MTCWE, MTCTCE, part-time packet wrangler

4 posts   •   Page 1 of 1

Who is online

Users browsing this forum: boen_robot and 8 guests

It is currently Fri Nov 21, 2014 9:53 pm