From owner-freebsd-questions@FreeBSD.ORG Thu Aug 12 12:52:18 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F16151065679 for ; Thu, 12 Aug 2010 12:52:17 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 739E68FC1F for ; Thu, 12 Aug 2010 12:52:17 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o7CCq0TA090703; Thu, 12 Aug 2010 14:52:16 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o7CCq0Z2090702; Thu, 12 Aug 2010 14:52:00 +0200 (CEST) (envelope-from olli) Date: Thu, 12 Aug 2010 14:52:00 +0200 (CEST) Message-Id: <201008121252.o7CCq0Z2090702@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, berrandonea@yahoo.fr In-Reply-To: <201846.75612.qm@web24603.mail.ird.yahoo.com> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Thu, 12 Aug 2010 14:52:16 +0200 (CEST) Cc: Subject: Re: Re : How to connect a jail to the web ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG, berrandonea@yahoo.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2010 12:52:18 -0000 Brice ERRANDONEA wrote: > 192.168.1.38 is the private address of rl0 on my host. 93.0.168.242 is the > public one. I tried both as the jail's address. With the private one, neither > portsnap nor ping work at all. > > With the public one, I get this result : > [...] > FreeBSD# jexec 2 ping www.yahoo.fr > ping: cannot resolve www.yahoo.fr: Host name lookup failure > FreeBSD# jexec 2 ping 69.147.83.33 > PING 69.147.83.33 (69.147.83.33): 56 data bytes > [...] > 32 packets transmitted, 0 packets received, 100.0% packet loss Please show the _complete_ output from "ifconfig" and "netstat -rnfinet". Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd PI: int f[9814],b,c=9814,g,i;long a=1e4,d,e,h; main(){for(;b=c,c-=14;i=printf("%04d",e+d/a),e=d%a) while(g=--b*2)d=h*b+a*(i?f[b]:a/5),h=d/--g,f[b]=d%g;}