Add VM router to host server. Is it possible?

Need MK router as headend for L2TP tunnels. I have a hosted server and would like to install the MK as a VM on the hosted server. I want the tunnels to terminate at the MK and then pass traffic into the hosted server’s OS. Is this possible and if so how?


Spoke Device ---------
Cloud------Public IP of hosted server—VM of MK—Server OS
Spoke Device ---------

If anyone is interested this can be done. Create a MK in the server with VirtualBox. Make one virtual NIC a host only adapter and place it in the same subnet as the VirtualBox adapter on the server. Make a second virtual NIC as a NAT network adapter. In my case I wanted to pass L2TP traffic through the server’s public IP to the virtual MK. On the NAT adapter I added a port forward to 1701. After that I was able to terminate my tunnels to the virtual MK and then pass traffic between the VM and the server through the host only adapter.