[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Web openvpn.net

[Openvpn-users] OpenVPN and QEMU

  • Subject: [Openvpn-users] OpenVPN and QEMU
  • From: Carlos Baiget Orts <carlos.baiget@xxxxx>
  • Date: Mon, 14 Jan 2008 10:38:30 +0100

Hello all.

I need some advice on how to make OpenVPN work in the following configuration:

I've installed Debian 4.0 and OpenVPN 2.0.9 in a qemu virtual machine, running 
in 'user network stack' mode (1). I launch the virtual machine with command:

qemu -hda disk_image.img -redir udp:1194::1194

which redirects all connections to host machine on port udp 1194 to guest 
machine and viceversa. The problem is, it doesn't work, and Openvpn complains 
about replay attacks, and if I ignore that, 'about an inconsistent ifconfig 
The openvpn configuration file is them most simple, the one explained in the 
quick how-to, and it works if I run it in the host machine, with the same 
Openvpn version.
The client machine is in the same LAN with no firewall between them.

Hope someone can give a hint, thanks a lot.

(1): http://fabrice.bellard.free.fr/qemu/qemu-doc.html#SEC30
OpenVPN mailing lists