From owner-freebsd-questions@FreeBSD.ORG Wed Feb 20 14:43:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DFF955EF for ; Wed, 20 Feb 2013 14:43:56 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 6DA058C5 for ; Wed, 20 Feb 2013 14:43:56 +0000 (UTC) Received: from [89.204.154.128] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1U8Atf-0000ex-G3 for freebsd-questions@freebsd.org; Wed, 20 Feb 2013 15:43:47 +0100 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id r1KEhi3b009319 for ; Wed, 20 Feb 2013 15:43:45 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id r1KEhipJ009318 for freebsd-questions@freebsd.org; Wed, 20 Feb 2013 15:43:44 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 20 Feb 2013 15:43:43 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: cannot ssh into a box with DHCP assigned IP address Message-ID: <20130220144343.GA9073@tiny.Sisis.de> References: <201302201355.r1KDt8Lt063091@mech-cluster241.men.bris.ac.uk> <685C610D-D19A-46FE-851F-3A00EACF3AE3@my.gd> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <685C610D-D19A-46FE-851F-3A00EACF3AE3@my.gd> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.154.128 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2013 14:43:56 -0000 El día Wednesday, February 20, 2013 a las 03:18:47PM +0100, Fleuriot Damien escribió: > > Well.. what should it be? > > I have on the problem box (ssh server): > > > > wlan0: flags=8943 metric 0 mtu 1 > > 500 > > ether 00:21:5c:50:68:c3 > > inet 172.21.220.12 netmask 0xfffffc00 broadcast 255.255.255.255 > > nd6 options=29 > > media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g > > status: associated > > ssid eduroam channel 1 (2412 MHz 11g) bssid 00:3a:98:62:cd:a0 > > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > > AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 14 bmiss 10 scanvalid 450 > > bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 > > protmode CTS wme roaming MANUAL > > > > I'm trying to ssh from 137.222.187.241. The class B network 172.16.0.0 to 172.31.255.255 is not routed in Internet (see RFC1918). This is a so called "private addr" you get from your Access Point. It is hided by the AP (or by some other router more far away) behind a real IP addr. You can check what this addr is by going to the page http://myip.nl/ And you can not SSH to the addr shown there, at least normally it would not be NAT'ed to your addr you got by DHCP. No way. matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru@unixarea.de | - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | - No proprietary attachments phone: +49-170-4527211 | - Respect for open standards