Librenix  
(Show all IPtables articles . . .
)  
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Iptables Tutorial: Limit connections per IP

Up
vote
Down

How do you restrict the number of connections used by a single IP address to my server for port 80 and 25 using iptables?

You need to use the connlimit modules which allows you to restrict the number of parallel TCP connections to a server per client IP address (or address block).

This is useful to protect your server or vps box against flooding, spamming or content scraping.
 read more | score:8839 | -nixcraft, February 8, 2010
More Sysadmin articles...

Abstract Art in Tallahassee

admin headlines

Testing the Digital Ocean $5 Cloud Servers with an MMORPG

Setup Dashboard and VNC console on Two Node Controller+Compute Neutron GRE+OVS+Gluster Fedora 20 Cluster

Running ownCloud 5.0 On Nginx (LEMP) On Debian Wheezy

Quantum basic RDO setup (grizzly) to have original LAN as external on CentOS 6.4

How to install S3QL from source on Fedora 19

Tutorial: Running CS-Cart on Nginx on Debian 7/Ubuntu 13.04

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin