Page 1 of 1

Connection Limit for a node

Posted: Fri Jun 26, 2015 1:35 pm
by Zwodka
Hi All,

I would like to limit a connection number of a node, both in/out connection.
As I know I need to use 2 firewall rules:

add action=drop chain=forward comment="TCP Connection Limits" \
connection-limit=51,32 disabled=no protocol=tcp src-address=11.22.33.44 \
tcp-flags=syn
add action=drop chain=forward comment="TCP Connection Limits" \
connection-limit=51,32 disabled=no protocol=tcp dst-address=11.22.33.44 \
tcp-flags=syn

Can I make it in one firewall filter rule?