View previous topic :: View next topic |
Author |
Message |
wafox n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Mar 2006 Posts: 29
|
Posted: Sat Apr 15, 2006 7:46 am Post subject: [SOLVED] qemu - howto connect it to my existing VPN tunnel |
|
|
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!
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 |
|
![](templates/gentoo/images/spacer.gif) |
wafox n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Mar 2006 Posts: 29
|
Posted: Sat Apr 15, 2006 8:18 am Post subject: or duh Nevermind... |
|
|
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 ![Cool 8)](images/smiles/icon_cool.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|