Firewall to block Virtual Machine to access internet

I'd like to block a VM to access internet, but I'd like to access it's over LAN.

This is the traffic rule I create (MAC address on Advanced Settings page), but if I restart the VM, I also lose the access even using LAN!

The most simple way to make it work is to set up a bridged connection on the host and reconfigure the guest to use it.

Check the documentation on your hypervisor for virtual networking and specifically network bridging.

1 Like