I'm trying to create a 'left client' > server < 'right client' setup but need some advice and tips.
Let's say that I have a server-daemon on the left side, like a vnc-server that connects to the middle server.
On the right side I've got a client that want to connect to the left server-daemon, but it has to be done through the middle server. I assume this should be done with some tunneling service.
The server environment is a fully featured Debian Linux or Mac OS X Server host.
Any idéas?
Thanks / Trikks
SSH port forwarding? If you have to requests from
right
to the server onleft
you could do something like:From
right
From
left
The first command sets up a tunnel, and will forward port 5900 from
right
tomiddle
, and the second is a reverse tunnel, and will forward port 5900 frommiddle
toleft
. These two commands should effectively provide a tunnel fromright
toleft
(I have not tested it, though)Tried rinetd?
For arbitrary forwarding it's probably the easiest.