LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Desktop Sharing thru a Router? (https://www.linuxquestions.org/questions/linux-networking-3/desktop-sharing-thru-a-router-218819/)

mykrob 08-17-2004 12:02 PM

Desktop Sharing thru a Router?
 
Hey-
I have a friend who is running Suse 9.1 Pro on his computer, whick connects to the net through a router attached to a cable modem. He'd like me to be able to remote connect to his system and do desktop sharing. However, the IP address that KDesktopSharing is giving him togive me is apparently an internal IP address assigned by the router...

I guess the generic question is, how do you find out what IP address to give for desktop sharing if you're behind a router?

Thanks,
-myk

SBing 08-17-2004 12:10 PM

It depends if his browsing is through a (transparent) proxy, if you know it isn't, you can just head over to http://www.privacy.net, his IP will show up.

If like me he uses a ISP which has a transparent proxy (e.g. NTL - UK), he can't get it this way since he'll get the IP of the proxy, he could try logging into his router - it should be shown somewhere, it should be shown somewhere on both Netgear and Linksys brand routers.

Failing that, he could try sshing to your box, (assuming you know your IP), once he's connected (no need to log in), just type in a console at your end:

$ netstat -n | grep 22

The output should look something like:

tcp 0 0 127.0.0.1:22 his.ip.is.here:somehighnumber ESTABLISHED

Good luck!

Steve

Edit: Or you could just to Kloth.net: http://www.kloth.net/services/nslookup.php

Below the nslookup table is a small table with small text: "You are coming from IP address...XXX.XXX.XXX.XXX"


All times are GMT -5. The time now is 09:33 AM.