* [Qemu-devel] Interesting QEMU + OpenVPN
@ 2006-08-01 20:29 Jonathan Kalbfeld
2006-08-02 4:53 ` Dirk Behme
2006-08-02 13:55 ` Joseph Miller
0 siblings, 2 replies; 5+ messages in thread
From: Jonathan Kalbfeld @ 2006-08-01 20:29 UTC (permalink / raw)
To: qemu-devel
I have an instance of NetBSD 3.0.1 that runs inside of QEMU emulating an i386.
On the parent system, whether it is Windows, Linux, Solaris, or *BSD,
you can run an OpenVPN instance and set up a tunnel.
On the guest system, you can then run OpenVPN and connect to the other
end of the tunnel.
Voila! Now, from the parent system, you can connect directly to your
QEMU instance by using the tunnel.
I set this up on my Sun Blade and am using it to test protocols. My
next task will be setting up a Virtual Ethernet Bridge between an
emulated i386 on QEMU here in LA and a real-live NetBSD brick at my
parents' home in Detroit.
Interesting stuff!
jonathan
--
--
Jonathan Kalbfeld
+1 323 620 6682
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Interesting QEMU + OpenVPN
2006-08-01 20:29 [Qemu-devel] Interesting QEMU + OpenVPN Jonathan Kalbfeld
@ 2006-08-02 4:53 ` Dirk Behme
2006-08-02 13:55 ` Joseph Miller
1 sibling, 0 replies; 5+ messages in thread
From: Dirk Behme @ 2006-08-02 4:53 UTC (permalink / raw)
To: qemu-devel
Jonathan Kalbfeld wrote:
> I have an instance of NetBSD 3.0.1 that runs inside of QEMU emulating an
> i386.
>
> On the parent system, whether it is Windows, Linux, Solaris, or *BSD,
> you can run an OpenVPN instance and set up a tunnel.
>
> On the guest system, you can then run OpenVPN and connect to the other
> end of the tunnel.
>
> Voila! Now, from the parent system, you can connect directly to your
> QEMU instance by using the tunnel.
Maybe you like to add some details (something like a small
"howto"?) and add a small description of this to QEMU Wiki [1]?
Dirk
[1] http://kidsquid.com/cgi-bin/moin.cgi
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Interesting QEMU + OpenVPN
2006-08-01 20:29 [Qemu-devel] Interesting QEMU + OpenVPN Jonathan Kalbfeld
2006-08-02 4:53 ` Dirk Behme
@ 2006-08-02 13:55 ` Joseph Miller
2006-08-02 13:57 ` Paul Brook
1 sibling, 1 reply; 5+ messages in thread
From: Joseph Miller @ 2006-08-02 13:55 UTC (permalink / raw)
To: qemu-devel
On Tuesday 01 August 2006 4:29 pm, Jonathan Kalbfeld wrote:
> I have an instance of NetBSD 3.0.1 that runs inside of QEMU emulating an
> i386.
>
> On the parent system, whether it is Windows, Linux, Solaris, or *BSD,
> you can run an OpenVPN instance and set up a tunnel.
>
> On the guest system, you can then run OpenVPN and connect to the other
> end of the tunnel.
>
> Voila! Now, from the parent system, you can connect directly to your
> QEMU instance by using the tunnel.
>
> I set this up on my Sun Blade and am using it to test protocols. My
> next task will be setting up a Virtual Ethernet Bridge between an
> emulated i386 on QEMU here in LA and a real-live NetBSD brick at my
> parents' home in Detroit.
>
> Interesting stuff!
>
> jonathan
I have used OpenVPN in this scenario and it works exceptionally well,
especially since you can bridge the adapters on the host and transparently
connect the guest to your internal LAN. Maybe one day qemu will have builtin
OpenVPN support so it won't have to be installed on the guest?
-Joseph
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Interesting QEMU + OpenVPN
2006-08-02 13:55 ` Joseph Miller
@ 2006-08-02 13:57 ` Paul Brook
2006-09-10 12:36 ` [Qemu-devel] " Samuel Tardieu
0 siblings, 1 reply; 5+ messages in thread
From: Paul Brook @ 2006-08-02 13:57 UTC (permalink / raw)
To: qemu-devel
> I have used OpenVPN in this scenario and it works exceptionally well,
> especially since you can bridge the adapters on the host and transparently
> connect the guest to your internal LAN. Maybe one day qemu will have
> builtin OpenVPN support so it won't have to be installed on the guest?
You can already bridge the host and gues using the existing networking options
(and/or VDE - http://vde.sf.net), without the encryption overhead and without
needing any special setup on the guest.
If you actually need the encryption then IMHO that's best left to dedicated
packages like OpenVPN.
Paul
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Qemu-devel] Re: Interesting QEMU + OpenVPN
2006-08-02 13:57 ` Paul Brook
@ 2006-09-10 12:36 ` Samuel Tardieu
0 siblings, 0 replies; 5+ messages in thread
From: Samuel Tardieu @ 2006-09-10 12:36 UTC (permalink / raw)
To: qemu-devel
>>>>> "Paul" == Paul Brook <paul@codesourcery.com> writes:
Paul> You can already bridge the host and gues using the existing
Paul> networking options (and/or VDE - http://vde.sf.net), without the
Paul> encryption overhead and without needing any special setup on the
Paul> guest.
This is precisely what I do. When my host system starts up, it creates
a bridge called "localnet" with only one card in it (my physical
ethernet card). My /etc/qemu-ifup reads:
#! /bin/sh
sudo ifconfig $1 up
sudo brctl addif localnet $1
I run qemu with "-net nic -net tap" and that's it, the qemu instance
has access to my local network, DHCP server, IPv6 routers, etc.
Sam
--
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-09-10 12:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-01 20:29 [Qemu-devel] Interesting QEMU + OpenVPN Jonathan Kalbfeld
2006-08-02 4:53 ` Dirk Behme
2006-08-02 13:55 ` Joseph Miller
2006-08-02 13:57 ` Paul Brook
2006-09-10 12:36 ` [Qemu-devel] " Samuel Tardieu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).