On Thu, 2005-05-05 at 14:10 -0700, A.Melon wrote: > I have connected a Debian box attached to a NAT router to a cable > modem, and I'd like to determine (preferably from Perl but > anything will do!) my "internet" IP address (as opposed to > 192.168...). > > I searched for information on this and found only solutions by > parsing the output of websites that display the HTTP REMOTE_ADDR. > But I don't want to rely on an external website. > > I know there must be a way to do this because Gnutella-type > programs (client) display my "outside" IP address. How do they > do it? I'd imagine that Gnutella-type programs detect it by asking the server you're connecting to for it. I don't know of a way to determine it from the actual machine being NAT-ed. -- Alex Malinovich Support Free Software, delete your Windows partition TODAY! Encrypted mail preferred. You can get my public key from any of the pgp.net keyservers. Key ID: A6D24837
Attachment:
signature.asc
Description: This is a digitally signed message part