[Mageia-sysadm] Access to ARM boards

Michael Scherer misc at zarb.org
Thu Mar 22 18:55:08 CET 2012


Le jeudi 22 mars 2012 à 00:24 +0100, nicolas vigier a écrit :
> Hello,
> 
> The 2 Mageia ARM boards are currently connected to the network behind
> valstar, so access from outside is not possible directly.
> 
> To give access to the boards to rtp, I forwarded ports 2221 and 2222
> from valstar to arm1 and arm2 sshd.
>
> To do this, the two following commands are run in screen "armbs" on
> valstar :
>  socat TCP-LISTEN:2221,fork,reuseaddr,su=nobody TCP4:arm1:22
>  socat TCP-LISTEN:2222,fork,reuseaddr,su=nobody TCP4:arm2:22
> 
> (so we will need to restart this after a reboot, or find a better
> solution to do it)

I am still amazed to see that no one ever know xinetd can do that since
years 
http://adamantsys.com/node/116

and people always take the more complex way of either using socat,
netcat, iptables, or complex tunnel system.

-- 
Michael Scherer



More information about the Mageia-sysadm mailing list