I have a vmware virtual machine and I want all network traffic to go via openvpn/airvpn.
One solution would be to copy the .ovpn file to the guest VM and use it there.
The problem is this approach is subject to human errors, OS failures and vulnerable to attacks.
So by doing this routing on the host OS it would allow to have a disposable "internet" guest Vm which you can use without having to worry about your security or identity to be compromised.
Well for a full protection you would need Tor as well. That's not what I need. But if you know how anyway then feel free to chime in.
Both my host and my guest are Linux machines.
Note that I have more than one VM and I only want traffic to be routed for this specific VM.
I would also like to know on which network modes this can be done. I mean if the VM is in NAT can this work? And what about bridged? Host only?
What are the advantages or disadvantages of each guest VM network mode in order to solve this problem?