Hey
Im looking to see if anyone can suggest a clever way to bridge a wireguard interface to a bhyve vm, the end goal is to isolate that vm to a specific wg tunnel to prevent it from accessing local network.
I would like to avoid having a routed setup for now where a vm is bridged to tapX on bridgeX and then routed and firewalled via rules on the host.
So im looking for a more elegant solution, for example on linux containers i used to create a wireguard interface and move it a container namespace to achieve this, ofcouse that is not possible with the vms.
Im looking to see if anyone can suggest a clever way to bridge a wireguard interface to a bhyve vm, the end goal is to isolate that vm to a specific wg tunnel to prevent it from accessing local network.
I would like to avoid having a routed setup for now where a vm is bridged to tapX on bridgeX and then routed and firewalled via rules on the host.
So im looking for a more elegant solution, for example on linux containers i used to create a wireguard interface and move it a container namespace to achieve this, ofcouse that is not possible with the vms.