From owner-freebsd-questions@FreeBSD.ORG Wed Mar 3 16:44:05 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 DB63016A4E3 for ; Wed, 3 Mar 2004 16:44:05 -0800 (PST) Received: from msr6.hinet.net (msr6.hinet.net [168.95.4.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1562643D54 for ; Wed, 3 Mar 2004 16:44:05 -0800 (PST) (envelope-from y2kbug@ms25.hinet.net) Received: from sonic.utopia.com (61-227-219-116.HINET-IP.hinet.net [61.227.219.116]) by msr6.hinet.net (8.9.3/8.9.3) with SMTP id IAA02409 for ; Thu, 4 Mar 2004 08:42:14 +0800 (CST) Date: Thu, 4 Mar 2004 08:33:32 +0800 From: Robert Storey To: freebsd-questions@freebsd.org Message-Id: <20040304083332.30695e4b.y2kbug@ms25.hinet.net> In-Reply-To: <20040303131340.GA11526@happy-idiot-talk.infracaninophile.co.uk> References: <20040303181551.104d2ce6.y2kbug@ms25.hinet.net> <20040303131340.GA11526@happy-idiot-talk.infracaninophile.co.uk> 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: Re: 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: Thu, 04 Mar 2004 00:44:06 -0000 On Wed, 3 Mar 2004 13:13:40 +0000 Matthew Seaman wrote: > If you need to find your external address quickly, then ssh into this > other machine and look at the variables that ssh sets in your > environment -- I'm assuming that the box you ssh into is running some > variety of OpenSSH. eg: > > % env | grep SSH > SSH_CLIENT=81.2.69.219 1483 22 > SSH_CONNECTION=81.2.69.219 1483 81.2.69.219 22 > SSH_TTY=/dev/ttyp4 > SSH_AUTH_SOCK=/tmp/ssh-6kfGMKtW/agent.30744 Thanks Matthew, that works superbly! > Running an FTP server through a NAT'ing gateway is not going to be a > pleasant experience, even if you were running the NAT gateway on a > FreeBSD box where natd's punch_fw functionality would make things a > great deal easier for you. FTP is an ancient protocol not designed to > cope with the realities of the modern internet. Is it just that I will suffer poor performance, or is there some other reason? I don't actually need hot performance, as this will be a very low-traffic anonymous ftp server. It's more for experiment and education than anything else. I'm trying to get the students to learn something besides Windows. > You'd be better off putting a reverse-proxy on your gateway machine. Unfortunately, the gateway machine is running Windows NT. I would love to switch it to FreeBSD, but the school owns it and is unlikely to give their consent. They gave me one (very old) client machine on the network and told me I can do what I like with that. Thanks again for all your help. regards, Robert