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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
