From owner-freebsd-questions@FreeBSD.ORG Wed Sep 3 14:50:55 2003 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 42F1916A4BF for ; Wed, 3 Sep 2003 14:50:55 -0700 (PDT) Received: from blacklamb.mykitchentable.net (65-37-69-87.bras01.elk.ca.frontiernet.net [65.37.69.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F64543FBD for ; Wed, 3 Sep 2003 14:50:54 -0700 (PDT) (envelope-from drew@mykitchentable.net) Received: from tagalong (unknown [165.107.42.110]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTP id E0D383BF354; Wed, 3 Sep 2003 14:50:49 -0700 (PDT) Message-ID: <01d701c37265$72e4da90$6e2a6ba5@lc.ca.gov> From: "Drew Tomlinson" To: References: <019101c37248$ffd50c30$6e2a6ba5@lc.ca.gov> <20030903210901.GA59060@alexis.mi.celestial.com> Date: Wed, 3 Sep 2003 14:50:49 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: FreeBSD Questions Subject: Re: How to Get Public IP From LinkSys Router? 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 Sep 2003 21:50:55 -0000 ----- Original Message ----- From: "Bill Campbell" To: "FreeBSD Questions" Sent: Wednesday, September 03, 2003 2:09 PM Subject: Re: How to Get Public IP From LinkSys Router? > On Wed, Sep 03, 2003, Drew Tomlinson wrote: > >I need to get my public IP address from a LinkSys cable router and don't > >have any idea where to start. The LinkSys is doing NAT and my FBSD box > >in on the private network on the inside. What commands and/or ports are > >there that would provide the public IP address from the command line so > >I pass the IP to a script? Any ideas? > > We have set up a server to return this since I got tired of > poking around to find it. This will return the IP address. > > ssh -l sshclient sshclient.celestial.com Thanks. I will either go this route or use a suggestion by another get the html status page from the router and extract. Is your server normally up? Drew