Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] qemu - howto connect it to my existing VPN tunnel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
wafox
n00b
n00b


Joined: 30 Mar 2006
Posts: 29

PostPosted: Sat Apr 15, 2006 7:46 am    Post subject: [SOLVED] qemu - howto connect it to my existing VPN tunnel Reply with quote

I'm looking for some help with qemu. I'm trying to take a qemu win2k vm and and hook it up to my VPN at my office. I've already got the VPN tunnel set up on my host box into my office VPN and that all works fine. I can access all the samba shares and nfs shares on my work's network just fine. I just need this to work from qemu as well (so I can run this stupid .net 2.0 application I need for work).

Right now when I load up qemu it does whatever it does by default and I can reach the internet but I need to go beyond that.

Please help if you can - I can't take duel booting anymore! :cry:

This is my current network setup - the tun is my work vpn. Right now my eth0 device gets an IP my home network from DHCP.

Do I just need to bridge the connection? and if that's the case - any examples would be more than welcome.

Code:

eth0      Link encap:Ethernet  HWaddr 00:15:E9:2E:49:68
          inet addr:192.168.0.118  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24655 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27085 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:19791697 (18.8 Mb)  TX bytes:5477909 (5.2 Mb)
          Interrupt:217 Memory:fdef8000-0

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:277 errors:0 dropped:0 overruns:0 frame:0
          TX packets:277 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:36339 (35.4 Kb)  TX bytes:36339 (35.4 Kb)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00
          inet addr:10.8.0.6  P-t-P:10.8.0.5  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:360 errors:0 dropped:0 overruns:0 frame:0
          TX packets:450 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:49821 (48.6 Kb)  TX bytes:50407 (49.2 Kb)


Last edited by wafox on Sat Apr 15, 2006 8:19 am; edited 1 time in total
Back to top
View user's profile Send private message
wafox
n00b
n00b


Joined: 30 Mar 2006
Posts: 29

PostPosted: Sat Apr 15, 2006 8:18 am    Post subject: or duh Nevermind... Reply with quote

Well I figured this out. Just killed the tunnel on the host and set up the windows version of openvpn on the qemu guest machine and it works just fine.

neato 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum