1/4
Sangfor NGAF VM in the QEMU hypervisor

Newbie146777  Posted 2023-Mar-21 15:57

Abdul Sami has solved this question and earned 20 coins.

Posting a reply earns you 2 coins. An accepted reply earns you 20 coins and another 10 coins for replying within 10 minutes. (Expired) What is Coin?

Enter your mobile phone number and company name for better service. Go

Regarding the network issue, it's possible that the network configuration is not compatible with your QEMU environment. You may need to check the network settings in the Sangfor NGAF image and adjust them accordingly to work with your QEMU environment.

You can also try accessing the NGAF web interface using the IP address assigned to another interface, if available. If none of the interfaces work, you may need to check the network configuration in your QEMU environment and ensure that it's properly configured to allow communication between the host and the VM.

If you continue to have issues with accessing the Sangfor NGAF image in QEMU, you may want to consider using a different hypervisor that's compatible with the image, or contacting Sangfor support for further assistance.
Is this answer helpful?
CTI_JianJie Lv2  Posted 2023-Apr-10 10:43
  
Hi, NGAF VMware images are not supported in the Qemu environment. The NGAF driver/kernel/licensing module is built explicitly for the VMware platform, which cannot work in Qemu images.
Btw, the backend login credential is confidential and only could be access via Sangfor staff.
faysalji Lv3  Posted 2023-Mar-30 14:42
  
In order to keep true to the FLOSS philosophy, I prefer to virtualize things using QEMU KVM. This also allows me to practice with the tools used in a lot of Linux environments for virtualization. Although it is a great tool for deploying your own virtual machines, it gets in the way when I want to open up a VM image for a security lab or some pre-made tool such as SIFT Workstation since they usually come in either virtual box or VMware images. While I could just download those tools, I prefer not to add more programs to my computer unless it is absolutely necessary. Of course, I also just like to find new ways of doing things. I hate seeing people online responding with "just download XYZ program and be done with it". Yes I can download VMware workstation if I needed it at work for something really quick and it will most likely work, but when it comes doing things at home, that mindset is soooo boring.

Normally, VMware images come in a *.ova file. The first thing to realize is that if you run file on the ova, you will notice that it is simply seen as a tar archive. The ova holds multiple files inside including the actual image, normally in a. The ova holds multiple files inside including the actual image, normally in a *.vmdk file, and a *.ovf file which is an XML file with information pertaining to the VM, comparable to the QEMU XML used to configure your VM settings. You may also find other files in there such as an ISO or a file with hashes. The only file we care about though is the *.vmdk file as that is the one with the actual image. If there are more than one, the file which has the name most comparable to the original *.ova filename should be the correct one. If it turns out this one does not work after the following process, you can always try the other one.

We will be converting the vmdk to qcow2. I chose this format simply because its the one I use with my other images and it works well with this conversion process. To convert it, you need to use the qemu-img and its convert function. After this point, we will be able to load the qcow2 image as a regular disk image in QEMU. You can do this through virt-manager, virt-install or copy another VM's XML and change the source for the disk as well as other options like the name, the UUID, and the MAC address. Something else you can try for a quick test is qemu-system-x86_64 but this can sometimes be very slow unless you set a ton of argument options.

Here are the actual steps:

tar -xvf original.ova
qemu-img convert -O qcow2 original.vmdk original.qcow2
Run the qcow2 image in QEMU
If it does not boot, try the other vmdk file if there is one
As you can see, it is pretty simple to do this and so far have used it on 3 different VMware images flawlessly. However, you have to realize it may take some experimentation. Do not give up on it right away and you will be able to avoid downloading extra software and avoid looking for the correct free trial version or getting an expensive license.
Mikee Lv2  Posted 2023-Mar-29 13:03
  
Please double-check that the ova file was correctly converted.

KarenD Lv2  Posted 2023-Mar-29 11:52
  
To make sure the ova file was converted correctly, please check.
SteveD Lv2  Posted 2023-Mar-29 11:49
  
Maybe the QEMU is not supported
Ashley Anne Lv2  Posted 2023-Mar-29 11:44
  
Please make sure the ova file was converted correctly.
Rashley Lv2  Posted 2023-Mar-29 11:33
  
Regarding the network problem, it's possible that your QEMU environment's network configuration is incompatible with it. The network settings in the Sangfor NGAF image might need to be checked and modified to work with your QEMU environment.
Rhebie Lv3  Posted 2023-Mar-29 11:30
  
Randolfy Lv2  Posted 2023-Mar-29 11:26
  
Please verify that the ova file was properly converted.
SassyScorpio Lv2  Posted 2023-Mar-28 01:27
  

I Can Help:

Change

Trending Topics

Board Leaders