I've got qemu 6.1 running on OpenBSD 3.7. I'm running the OpenBSD 3.7 image file from free.oszoo.net. I want to be able to access the internet from lynx running in OpenBSD 3.7 under qemu.
I am now able to access from qemu the apache website on the host (my pc). I have set up pf+nat for the private address of 10.0.0.2 used by qemu, but I cannot make contact with the internet. Here is my pf ruleset, adapted from the example on page 141 of Artymiak's _Building Firewalls..._, 2nd ed. How do I fix the ruleset (assuming that's the problem) to enable ip traffic between qemu and the internet through my pc? Thanks, Dave Feustel ---my pf ruleset----- scrub fragment reassemble scrub reassemble tcp NoRouteIPs = "{ 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12 }" ExtIF = "xl0" ext_ad = "(xl0)" prv_ad = "(tun0)" nat_proto = "{tcp, udp, icmp}" nat on $ExtIF inet proto $nat_proto \ from $prv_ad to any -> $ext_ad block in quick on $ExtIF from $NoRouteIPs to any block out quick on $ExtIF from any to $NoRouteIPs -- Tired of having to defend against Malware? You know: trojans, viruses, SPYWARE, ADWARE, KEYLOGGERS, rootkits, worms and popups. Then Switch to OpenBSD with a KDE desktop!!! ***NOW with Virtual PC OS support via QEMU!***