From owner-freebsd-questions Fri Apr 7 16: 1:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cytosine.dhs.org (cx272244-a.orng1.occa.home.com [24.1.177.149]) by hub.freebsd.org (Postfix) with ESMTP id E4C3737C18E for ; Fri, 7 Apr 2000 16:01:37 -0700 (PDT) (envelope-from bhishan@cytosine.dhs.org) Received: (from bhishan@localhost) by cytosine.dhs.org (8.10.0/8.10.0) id e37N1Sl16053; Fri, 7 Apr 2000 16:01:28 -0700 (PDT) From: Bhishan Hemrajani Message-Id: <200004072301.e37N1Sl16053@cytosine.dhs.org> Subject: Re: Access to outbound if's IP address? In-Reply-To: from Rick Hamell at "Apr 7, 2000 03:12:19 pm" To: Rick Hamell Date: Fri, 7 Apr 2000 16:01:28 -0700 (PDT) Cc: Kai Peters , freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Actually, that will give the internal ip address of the local machine and the gateway. What's easiest to do, is have them go to one of your fbsd boxes http server, and then do a tail on the access_log. If you have apache installed, it should be: /usr/local/apahche/logs/access_log so: tail /usr/local/apahche/logs/access_log Would printout the hostname of that machine. I'm sure there are many many more ways of doing this. This was at the top of my head. --bhishan > > winipcfg from the start->run menu will give you the gateway Windows is > trying to go through... is that what you're looking for? It also gives the > IP address currently assigned to it. > > Rick > > > We have installed about 10 FreeBSD gateways for some of our clients > > so far (dialup/Cable/DSL). For maintenance purposes it would be nice > > to have telnet access to these boxes when required. > > > > Ideally we'd like to phone a contact on site and ask them for their > > gateway's current > > IP address so we can telnet to it. However, we'd prefer that contact to be > > able > > to run a Win32 app of some sort that would tell them the IP address, rather > > than talking them > > thru the login at the BSD box and then having them do an 'ifconfig'. > > > > Sitting on a Win32 net behind a FreeBSD gateway, how can I know > > the gateway's outbound if IP address without lifting my butt out of my > > chair and doing an 'ifconfig ' on the gateway (or telnetting to it)? > > > > Any help/pointers greatly appreciated, > > > > Thanks, > > Kai > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message