Post #3850653
2026-07-16 05:00 UTC
Excellent explanation, thank you very much. Since I am using a VPN configuration on the host computer, am I correct in thinking NAT is the option I want if I want all traffic routed through that? It seems to function that way at the moment (checking IP on speedtest). If I recall, I had it configured that way on virtualbox. I want everything to network wise to be piped through the host first so if in the future I have custom firewall rules etc on the host, those are in place from the sounds of it using NAT correct?
Thanks again.
Replies (1)
-
@brickfrog@lemmy.dbzer0.com 2026-07-16 15:34
Yes that sounds correct, the traffic would go through the host so if the host is on VPN then the VM should be on that as well when in NAT mode. Haven’t done that myself, maybe just do some testing to make sure that’s working as expected e.g. could be worthwhile to test what happens when the VPN drops out on the host and see how the VM behaves in that scenario. I don’t know how a kill switch would behave with that setup (or if you even need it, just mentioning).