Re: How can I create a VM in virt-manager that can access the internet through the host but can't even see the host or other devices on the LAN?

2024-05-17 Thread Anchal Nigam
But to use VLANs I would create them on my router, right? Cause I need to block the VM from accessing the host or any other device on my network/LAN.

RE: How can I create a VM in virt-manager that can access the internet through the host but can't even see the host or other devices on the LAN?

2024-05-17 Thread Anchal Nigam
I don't have a VLAN aware router. Or do you mean create VLANs on the host? I'm not even sure how to do that.

Re: How can I create a VM in virt-manager that can access the internet through the host but can't even see the host or other devices on the LAN?

2024-05-17 Thread Mauricio Tavares
On Fri, May 17, 2024 at 11:25 AM Michal Prívozník wrote: > > On 5/17/24 14:21, Anchal Nigam wrote: > > I don't have a router that I can create custom rules to block things. I was > > hoping there would be a way to do this entirely on the host but it doesn't > > look like it is possible. > > > >

Re: How can I create a VM in virt-manager that can access the internet through the host but can't even see the host or other devices on the LAN?

2024-05-17 Thread Michal Prívozník
On 5/17/24 14:21, Anchal Nigam wrote: > I don't have a router that I can create custom rules to block things. I was > hoping there would be a way to do this entirely on the host but it doesn't > look like it is possible. > macvtap IS purely host thing. No need to set anything on the router. In

RE: How can I create a VM in virt-manager that can access the internet through the host but can't even see the host or other devices on the LAN?

2024-05-17 Thread Marc
I think such a thing can be done with macvtap. Check about using different vlans and test macvtap modes that prevent communicating with the host. > > I don't have a router that I can create custom rules to block things. I > was hoping there would be a way to do this entirely on the host but it >

Re: How can I create a VM in virt-manager that can access the internet through the host but can't even see the host or other devices on the LAN?

2024-05-17 Thread Anchal Nigam
I don't have a router that I can create custom rules to block things. I was hoping there would be a way to do this entirely on the host but it doesn't look like it is possible.