Hello,
in order to restrict the IP usage of a VM, we want to implement the libvirt network filters:
https://libvirt.org/formatnwfilter.html
For example, with this filters we're able to restrict a VM to only use that 3 IPs.
If the VM user try to configure other IP he will lost connectivity.
nwfilter proxmox
There is any option to apply nwfilters this on Proxmox ?
in order to restrict the IP usage of a VM, we want to implement the libvirt network filters:
https://libvirt.org/formatnwfilter.html
For example, with this filters we're able to restrict a VM to only use that 3 IPs.
If the VM user try to configure other IP he will lost connectivity.
Code:
<devices>
<interface type='bridge'>
<mac address='00:16:3e:5d:c7:9e'/>
<filterref filter='clean-traffic'>
<parameter name='IP' value='10.0.0.1'/>
<parameter name='IP' value='10.0.0.2'/>
<parameter name='IP' value='10.0.0.3'/>
</filterref>
</interface>
</devices>
<filter name='clean-traffic'>
<uuid>6ef53069-ba34-94a0-d33d-17751b9b8cb1</uuid>
<filterref filter='no-mac-spoofing'/>
<filterref filter='no-ip-spoofing'/>
<filterref filter='allow-incoming-ipv4'/>
<filterref filter='no-arp-spoofing'/>
<filterref filter='no-other-l2-traffic'/>
<filterref filter='qemu-announce-self'/>
</filter>
nwfilter proxmox
There is any option to apply nwfilters this on Proxmox ?