From mboxrd@z Thu Jan 1 00:00:00 1970 From: Payal Rathod Subject: limiting connections Date: Mon, 1 Nov 2004 04:26:21 -0500 Message-ID: <20041101092621.GA6044@tranquility.scriptkitchen.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Netfilter ML Hi, As I mentioned in my previous mails, I use something like below to redirect connections from outside to my internal machine. # iptables -t nat -I PREROUTING -d -p tcp --dport \ 8081 -j DNAT --to-destination 192.168.0.16:80 But I want only say 3 connections allowed at a time from outside. How do I do it in iptables? I am not getting the exact syntax. Thanks a lot in advance. With warm regards, -Payal