From: Denilson Guedes Duarte Subject: Help iplimit-patch Date: Mon, 14 Mar 2005 09:24:56 +0000 Message-ID: <200503140924.56831.denilson@bnet.com.br> Reply-To: denilson@bnet.com.br Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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" To: netfilter@lists.netfilter.org sorry by my english, I reading for a iptables because I need to make a solution to my case: I have a sever that I use only to redirect packets to another sever, I control by IP source like example: iptables -A INPUT -s 200.sss.sss.sss -j ACCEPT -p tcp --dport 23 /usr/sbin/iptables -t nat -A PREROUTING -s 200.sss.sss.sss -j DNAT -d 200.lll.lll.lll -p tcp --dport 23 --to 172.ddd.ddd.ddd:23 /usr/sbin/iptables -t nat -A POSTROUTING -j SNAT -d 172.ddd.ddd.ddd -p tcp --dport 23 --to-source 172.aaa.aaa.aaa 200.sss.sss.sss = IP source Client 200.lll.lll.lll = IP Server localhost - extern IP 172.ddd.ddd.ddd = IP destination Server 172.aaa.aaa.aaa = IP configured to accept conections on 172.ddd.ddd.ddd I want to control the limit of conections by IP source simultaneous-use, Ex. IP 200.sss.sss.sss can use 3 conections in the same time. It's possible? Thanks. -- Denilson Guedes Duarte ISPbnet - Provedor de Internet Uruguaiana - RS denilson@bnet.com.br (55) 411 6350