[BitVisor-devel-en:113] Re: Bitvisor Wireguard problems?

Lonnie Cumberland lonnie at outstep.com
Thu Jun 13 08:20:03 JST 2024


Hello All,

Hope that your day has gone well.  I wanted to report on the success 
that I have now had with getting Wireguard working in Bitvisor running 
on VMware Workstation 17 (on Windows 10 x64).

I have had success and ultimately the catch was that I had to have the 
".wg.gateway" to the wireguard server WG IP as well as I had to ensure 
that that the ".wg_gos.ipaddr" had to have an IP that was within the 
192.168.3.xxx subnet and that the WG server had Allowable ports of 
192.168.3.1/24" so that there was space for the guest OS IP to tunnel 
through the bitvisor wireguard ".wg.ipaddr" space.

I also found that although the VMware Workstation 17 Pro does work 
"mostly" that it does crash out if it seems to be set for more than 1 
vCPU although I will do more testing to verify the actual cause.

With that in mind, I think that I am going to migrate the development 
back over to QEMU on a Ubuntu 24.04 (x64) system and will probably just 
have to figure out how to set up a network bridge to make it work.

-------------------------------
     .ip = {
         .use_dhcp = 0,
         .ipaddr = { 192, 168, 1, 5 },
         .netmask = { 255, 255, 255, 0 },
         .gateway = { 192, 168, 1, 254 },
     },
     .wg = {
         .ipaddr = { 192, 168, 3, 2 },
         .netmask = { 255, 255, 255, 0 },
         .gateway = { 192, 168, 3, 1 },
         .ipaddr_end_point = { 154, 53, 48, 214 },
         .peer_allowed_ip = { 0, 0, 0, 0 },
         .peer_allowed_mask = { 0, 0, 0, 0 },
         .peer_endpoint_port = 51820,
         .wg_listen_port = 0,
         .wg_private_key = "<REDACTED>",
         .peer_public_key = "WhaBE3ruQgEgBvwK6+MWqmUjfeEwXHcS/2fQrEAlZRg=",
     },
     .wg_gos = {
         .ipaddr = { 192, 168, 3, 3 },
         .dns = { 8, 8, 8, 8 },
         .mac_gateway = { 0x00, 0x0c, 0x29, 0x0E, 0x67, 0x56 },
     },
-------------------------------

Thanks for all of the help and I am now starting to make more and more 
progress forward but still have a lot of learning to do as well as still 
have many questions along the way to making this project a reality.

Have a great day,
Lonnie


More information about the BitVisor-devel-en mailing list