LXC can steal IP Addresses


New Member
Jan 10, 2019

I have a /24 connected to a host. If I fire up a LXC with and assign an IP to it eg: (just an example) the guest is able to steal an address like by just changing it interfaces config and restarting the network. We activated the FW and tried using IPSet to prevent this from happening, however, no matter what we do, it's still possible.

What would be the correct way to make sure that's not possible anymore?
A simple solution would be to change the CTs default OUTPUT policy to REJECT or DROP and add an accept rule for out= to the CTs firewall ruleset.

Ensure that the Firewall is on on the Datacenter, the CTs Firewall Option Tab and the CTs Network veth device (in the Network Tab).
You can check with
if it got applied, may want to grep for "veth" or "vethVMID" to find it quickly.

With this, all network packets which do not come from your whitelisted IP address will get rejected/dropped.


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!