[SOLVED] PVEFW Logs with custom rules

Mecanik

Well-Known Member
Mar 2, 2017
173
4
58
32
Hi,

I'm not sure if I asked the question already, checked but cannot find in my posts. Basically I have some custom iptables rules per VM/adapter and I do logging.

These logs go into the main node logs instead of the VM Firewall logs.

Bash:
/sbin/iptables -N ...
/sbin/iptables -A ... -m limit --limit 1/sec -j NFLOG --nflog-prefix  ':myprefix:...: '
/sbin/iptables -A ... -j DROP
/sbin/iptables -A ... -m comment --comment 'Log...'

Any way I can put the logs in the right place? Please advise.

Thanks
 
Last edited:

About

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!