Been struggling with this for a while and hopefully someone out there could take me “under their wings”. What i am trying to do is to run a number of VMs on top of Fedora as a base. Security and privacy by isolation. Some VMs accessing the net through TOR, others with VPN and some without any specific need apart from being isolated from the other VMs. Im am using Virtual Machine Manager or/and Boxes that came with fedora 38. I can install and run VMs without any problem, but they all show as being the same IP and when trying to use a VPN it doesnt work. Been looking at libvirt.org, tried to make bridges, followed ChatGPT instructions and more. Nothing ive done so far makes a difference. Im simply not smart enough and need someone clever to:
-Explain me in short terms what is needed to make it work
-Give me a step by step guide.
There are many different reasons for using a VPN with a VM, so it is unlikely that a simple guide is can be created for any but the most basic use cases. It may not be wise to reveal the details of your use case in a public forum. https://security.stackexchange.com questions tagged VPN has discussions various use cases. Your VPN provider should have forums where configuration issues are discussed (if not, you may want to change providers).
As a general rule for open source software, when you encounter problems with documentation you should first make sure you have the background knowledge assumed by the author and if questions remain ask the author for clarification so the documentation can be improved for everyone.
Note that bridged networking mentioned by @ilikelinux is a good choice for sharing VM services to LAN clients when using a wired connection, but there are more suitable options if you need isolation or your connection is wireless.
Thanks for your reply. Ive gotten one VM to work with wireless and VPN following the @likelinux guide. (Thanks!). But only one. The others dont want to play. Maybe i need a new NIC for each? Would appreciate some guidance in regards to isolation and wireless