From owner-freebsd-questions@FreeBSD.ORG Wed Mar 3 04:30:41 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBC4216A4CF for ; Wed, 3 Mar 2004 04:30:41 -0800 (PST) Received: from msr44.hinet.net (msr44.hinet.net [168.95.4.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5231543D1D for ; Wed, 3 Mar 2004 04:30:41 -0800 (PST) (envelope-from y2kbug@ms25.hinet.net) Received: from sonic.utopia.com (61-227-219-53.HINET-IP.hinet.net [61.227.219.53]) by msr44.hinet.net (8.9.3/8.9.3) with SMTP id UAA27716 for ; Wed, 3 Mar 2004 20:28:53 +0800 (CST) Date: Wed, 3 Mar 2004 18:15:51 +0800 From: Robert Storey To: freebsd-questions@freebsd.org Message-Id: <20040303181551.104d2ce6.y2kbug@ms25.hinet.net> Organization: X-Mailer: Sylpheed version 0.9.5-gtk2-20030906 (GTK+ 2.2.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: what is my real address? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 12:30:42 -0000 I've set up a FreeBSD client at our school. The client gets its address via dhcp from the gateway machine which runs Windows NT (yuch!). There is apparently a proxy server installed which blocks http, but I can get out onto the Internet using ssh to login to another server, from where I run lynx if I want to visit web sites. ftp is not blocked, so I can download if I need to. For run, I would like to run an ftp server on this client machine. For that, I would need to know my real address on the web, but I am not sure how to find this info. If I run ifconfig, it tells me the following: inet addr: 10.0.0.10 Bcast: 10.0.0.31 Mask 255.255.255.224 I can safely assume that 10.0.0.10 is an internal address for this network. I've been pouring through the *BSD documentation I have hoping to find a command that will tell me the address I occupy on the Internet, but so far I haven't found anything. I'm sure the answer is simple, but no joy so far - I'd be grateful if somebody could clue me in. A related question...I do realize that my address could change everytime I fire up the client machine. I'm wondering if I can deal with that by using dyndns? Remember, this would be for an anonymous ftp server, not http. Thanks in advance, Robert