advanced rules in Firewall cluster

pppplus2

New Member
Sep 2, 2017
7
0
1
51
Hi

Is it possible to add advanced rules in cluster Firewall, like this :

Code:
[RULES]
IN SSH -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --set
IN SSH -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent  --update --seconds 60 --hitcount 4 -j DROP

How to write them ?
(because mine doesn't work)

I try to search on ggl, but find nothing for advanced rules.

Thanks for your help.
 
Ok, thanks for quick reply.

Previously, I used CSF firewall, but I have problem, because the cluster send me a lot of alerts when CT are running.
On Proxmox 3, no problem with CSF on the cluster.
But on Proxmox 5... I've this problem, so I try with Proxmox Firewall, but without advanced rules, it's very limited...

So, if you know how to configure CSF firewall (on cluster) to not have alerts when CT are running... it's perfect.
If not, do you know another simple firewall, to avoid to use iptables directly ?

Or a good list of iptables rules, for cluster ?

(I run CSF on each CT)
 

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!