D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Carrier grade NAT..

 

On 18/07/13 01:31, Kai Hendry wrote:
> Hi guys,
>
> On a related note I've written a simple ssh based port forwarder:
> http://pi.dabase.com/
>
> It allows you to "phone home" from behind a NAT. Without needing
> dynamic IP setup or access to your router control panel.
>
> Be good if you could review the code. I tried to lock it down as much
> as possible.
>
> Similar code (since re-factored it to use command=) was used to manage
> 80 odd signage machines across London.
>
> Kind regards,
>

Like Phil, I'm a little unsure about the usage case here - connecting
outwards from behind a NAT'ed network to my home system isn't a problem.

The difficulty lies in connecting *to* a system behind a NAT'ed link,
where neither the user or myself has access to the router or the
firewall. And that is solved with a reverse ssh tunnel.

I did look at your code though, and it's perfectly sensible, neat and
tidy. I just can't think what I'd use it for.

Regards

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq