[Bug 209479] Incorrect PF NAT rule set in bhyve wiki page
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 22 22:57:17 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209479
--- Comment #4 from fehmi noyan isi <fnoyanisi at yahoo.com> ---
I managed to get my VM's network connection fixed by using an indirect
approach. This email [1] and this forum thread [2] have all details.
In short, what I did was;
- assigning an static IP address to tap0 on the host machine
- assigning an static IP address to vtnet0 on the guest machine
- use tap0 IP address as the defaultrouter in rc.conf
- use pf(4) to forward traffic from tap0 to wlan0
(contents of relevant configration files are give in [2])
I did not use the bridge0 interface, in fact I removed it completely. Using
static IP addresses and PF rules to redirect/NAT the traffic were all needed
for me to get it working.
However, as you have more VMs around, this configuration might get hard to
manage....
I still think that bhyve wiki should be updated with more information on the
usage of wlan0 interface with bhyve (have seen some other posts in the Internet
from people having similar/same issues)
[1]
https://lists.freebsd.org/pipermail/freebsd-virtualization/2016-May/004465.html
[2] https://forums.freebsd.org/threads/56285/
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-doc
mailing list