Skip to contentSkip to conversation

User-mode proxy support

Qemu-devel Ricardo Almeida 2 participants 3 messages Nov 17, 2006

lore
Share & tools
lore
#0 lore raw

Hello,

I'm using QEmu with user mode network. The host machine can't access the Internet directly, only through a proxy server.
Since I'm using user mode network there's no way I can connect to the proxy from inside the guest machine (is there?).
What I'm suggesting is building a proxy server (just as there is a DNS and a SMB server) that in reality is just a package forwarder to the real proxy server... I don't know if this easy to do, but it's what I would like :)

Regards,
Ricardo Almeida

#1 lore raw
Quoted 10 lines · Ricardo Almeida

Hello,

I'm using QEmu with user mode network. The host machine can't access the Internet directly, only through a proxy server.
Since I'm using user mode network there's no way I can connect to the proxy from inside the guest machine (is there?).
What I'm suggesting is building a proxy server (just as there is a DNS and a SMB server) that in reality is just a package forwarder to the real proxy server... I don't know if this easy to do, but it's what I would like :)

If you set the guest's default route to 10.0.2.2 then it should be able to reach your proxy server, perhaps using its IP address rather than hostname if you haven't set up DNS.

Signature · 5 lines
-- Michael "Soruk" McConnell
  Eridani Star System

  MailStripper - http://www.MailStripper.eu/ - SMTP spam filter
  Mail Me Anywhere - http://www.MailMeAnywhere.com/ - Mobile email
#2 lore raw

Thanks for the prompt response. Of course, it worked :)

Regards,
Ricardo Almeida

Quoted 29 lines · Michael McConnell
Quoted 10 lines · Ricardo Almeida

Hello,

I'm using QEmu with user mode network. The host machine can't access the Internet directly, only through a proxy server.
Since I'm using user mode network there's no way I can connect to the proxy from inside the guest machine (is there?).
What I'm suggesting is building a proxy server (just as there is a DNS and a SMB server) that in reality is just a package forwarder to the real proxy server... I don't know if this easy to do, but it's what I would like :)

If you set the guest's default route to 10.0.2.2 then it should be able to reach your proxy server, perhaps using its IP address rather than hostname if you haven't set up DNS.

--
-- Michael "Soruk" McConnell
Eridani Star System

MailStripper - http://www.MailStripper.eu/ - SMTP spam filter Mail Me Anywhere - http://www.MailMeAnywhere.com/ - Mobile email

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel