From owner-freebsd-questions@FreeBSD.ORG Wed Apr 9 12:52:00 2008 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 A8A4B1065671 for ; Wed, 9 Apr 2008 12:51:59 +0000 (UTC) (envelope-from fbsd06+U2=f69727cb@mlists.homeunix.com) Received: from turtle-out.mxes.net (turtle-out.mxes.net [216.86.168.191]) by mx1.freebsd.org (Postfix) with ESMTP id 6E92F8FC28 for ; Wed, 9 Apr 2008 12:51:59 +0000 (UTC) (envelope-from fbsd06+U2=f69727cb@mlists.homeunix.com) Received: from mxout-04.mxes.net (mxout-04.mxes.net [216.86.168.179]) by turtle-in.mxes.net (Postfix) with ESMTP id 556B0164700 for ; Wed, 9 Apr 2008 08:33:09 -0400 (EDT) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id AB1C4D05B6 for ; Wed, 9 Apr 2008 08:33:04 -0400 (EDT) Date: Wed, 9 Apr 2008 13:32:53 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080409133253.5dc9748b@gumby.homeunix.com.> In-Reply-To: <20080409091859.GA14939@farnborough.darq.net> References: <80f4f2b20804081710k5af28466k17f3d38cdd6e344a@mail.gmail.com> <20080409091859.GA14939@farnborough.darq.net> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: QEMU networking quirkiness on 7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2008 12:52:00 -0000 On Wed, 9 Apr 2008 10:18:59 +0100 Andrew Cid wrote: > Hi Jim, > > > The QEmu VM can access the web (I'm typing this out now in WindowsXP > > running safely in it's cage, for example). But it cannot VPN into > > work (timeout) or ping anything. I suspect it has to do with the > > way that QEmu is given network access. Is there any way to set up > > QEmu to access the network through an aliased IP address, and hence > > look like any other machine on my network, rather than to hide > > behind my BSD box? Is there another route I should take?+ > > > I connect my qemu boxes via the tap interface and then bridge it to > the external interface so it works like just another box on the LAN. > It's quite easy to setup and works pretty well, checkout: > http://people.freebsd.org/~maho/qemu/qemu.html ping fails because the qemu process runs as an ordinary user and ping requires root privileges (the ping binary runs setuid). The VPN problem may be simply due to qemu's use of NAT. I would suggest you familiarise yourself with any NAT/firewall issues for your VPN before switching to tap.