How to write an iptables rule for resctricting specific number of connections for an IP in RHEL ?
Issue
- To restrict incoming session from the firewall so that no connection more than the specified value go through the firewall.
- How to restrict the number of connections for certain IP address using
iptables
. - Is there any way to restrict number of parallel connection per IP address using
iptables
.
Environment
- Red Hat Enterprise Linux(RHEL) - All versions.
- Iptables.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.