Gentoo Archives: gentoo-user

From: Hilco Wijbenga <hilco.wijbenga@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Pair Programming & Non-Routable IP Address
Date: Thu, 22 Jul 2010 23:24:28
Message-Id: AANLkTinHYS5f78hrljp0ryOPh70UbVtt4w_jBEuch9el@mail.gmail.com
In Reply to: Re: [gentoo-user] Pair Programming & Non-Routable IP Address by Alex Schuster
1 On 22 July 2010 16:08, Alex Schuster <wonko@×××××××××.org> wrote:
2 > Hilco Wijbenga writes:
3 >
4 >> I would like to do remote pair programming with somebody on a
5 >> non-Linux box. It seems that NoMachine NX or TightVNC would allow me
6 >> to do so. Great.
7 >
8 > I prefer NX over VNC because of its efficiency, and because it is more
9 > intelligent, but I think it has no mode to let two people access the
10 > same session at once. So I (being remote) tried starting a session with
11 > NX, running KDE, which has a VNC feature, so the other person (with the
12 > session runnin in his fast LAN) could attach via VNC. But tit did not
13 > work well due some color bug.
14
15 Mmmh, that's disappointing. Would you mind having a look at
16 http://www.nomachine.com/products.php "NX Free Edition"? That gave me
17 the impression it was exactly what I was looking for.
18
19 >> My problem is that I don't have a routable IP address. My ISP gives me
20 >> a 192.x.x.x IP which is sort of nice because the bad guys can't see me
21 >> ... but neither can the good guys. :-) (On top of that I have my own
22 >> network with NAT set up so I can share my Internet connection among my
23 >> various machines.)
24 >>
25 >> I do have root access to a (Debian) server with a static IP with a
26 >> hosting company. So now I'm wondering if I can somehow take advantage
27 >> of that static IP address. How would I do that? What would I need to
28 >> set up on that server to allow my partner to reach my box?
29 >
30 > Setting a forward route with iptables would be the standard idea I'd
31 > think. But I'd probably just set up an SSH tunnel, like this:
32 >
33 > ssh -R :5900:localhost:5900 debian-server
34 >
35 > So when someone connects to port 5900 on the debian server, the traffic
36 > is forwarded to port 5900 on your machine, which would run the VNC
37 > session. If the session should run on the non-linux guy's PC, he should
38 > start the tunnel using putty or something. See the ssh man page and the
39 > -R option.
40
41 Awesome, that's very simple.

Replies

Subject Author
Re: [gentoo-user] Pair Programming & Non-Routable IP Address Alex Schuster <wonko@×××××××××.org>