From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Taylor Subject: Re: Iptables rules processing Date: Fri, 03 Aug 2007 14:29:37 -0500 Message-ID: <46B38221.2070108@riverviewtech.net> References: <20070803170735.GC7815@sid.toystory.lan> <001b01c7d5f4$91781110$0101000a@tanjian> <20070803174410.GA11029@sid.toystory.lan> Reply-To: gtaylor+reply@riverviewtech.net Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070803174410.GA11029@sid.toystory.lan> 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: Mail List - Netfilter On 08/03/07 12:44, Franck Joncourt wrote: > This is waht I wanted to know, I can't get such a processing without > the user defined chains ; Iptables doesn't do it by itself. The IPTables rules you have posted do not do it, though I think you could use a mport match to accomplish what you are wanting to do. I.e.: iptables -A INPUT -s 192.168.10.14 -p tcp -m mport --source-ports 80,443 -j ACCEPT Grant. . . .