Gentoo Archives: gentoo-embedded

From: Sune Kloppenborg Jeppesen <jaervosz@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] port forwarding as simple as possible
Date: Wed, 11 Apr 2007 08:11:24
Message-Id: 200704111010.17387.jaervosz@gentoo.org
In Reply to: [gentoo-embedded] port forwarding as simple as possible by Jakub Ladman
1 On Tuesday 10 April 2007 15:24, Jakub Ladman wrote:
2 > Hello
3 >
4 > I have embedded linux system based on gentoo embedded.
5 > This machine will be wheresoever and physicaly inaccessible.
6 > There is dropbear ssh server and no ssh client.
7 > The machine (a) may be connected to internet via NAT router with no
8 > possibility to forward any port to inside (gprs modem, gsm network and
9 > cheap sim, which has not public ip address).
10 >
11 > Sometimes i need to create an ip tunnel or a port forward like openssh does
12 > with -L or -R
13 >
14 > There is no need for encryption, i only need to append a script to crontab
15 > or something and this script, if launched, will use some program to create
16 > tcp connection to my server (b) with public ip.
17 > From this time some port(s) of the server (b) will be redirected to machine
18 > (a)
19 >
20 > Do i need to emerge openssh or some more simple method is known?
21 Perhaps Dropbear's dbclient with -L or -R options will suit your needs?
22
23 --
24 Sune Kloppenborg Jeppesen (Jaervosz)