Use a virtual machine to make ROS

My virtual machine is installed with ROS soft routing. I want to set the ROS system in the virtual machine through Winbox on the host. It's best to say detail, thank you