Issue when creating/updating firewall rule


New Member
Mar 1, 2023

I was creating a firewall rule on a vm when I noticed that when the comment contains a new line feed, the rest of the comment is not registered.
More so, I was able to create other rules if I added enough characters.

To we able to reproduce the issue you mentioned, can you provide us with the firewall rule you added to the VM? You can find in `/etc/pve/firewall/<VMID>.fw`
Thank you for you quick response.
Here it is, I just reproduced it.
|IN DROP -log nolog # reproduce
Also once I do that. When I try to update certain rules (by changing the position), it duplicates them instead of moving them.
Last edited:


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!