From: "Joel Lindsay" Subject: Can't get --dport to work Date: Tue, 1 May 2007 11:27:04 -0700 Message-ID: <006b01c78c1e$515f5c20$aa64a8c0@JOELDESKTOP> References: <4635EC8E.4090905@saudi.net.sa><4636DE7E.80600@saudi.net.sa> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: 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; format="flowed"; charset="us-ascii"; reply-type="original" To: netfilter@lists.netfilter.org Hi, At one time I had this working. I could match on the ports and deny http traffic from certain interfaces. Now I get an error message and I am not sure what is causing it. Can anyone help? # iptables -A OUTPUT -i ath0 -p tcp --dport 80 -j ACCEPT iptables v1.3.6-20061129: Unknown arg `--dport' Try `iptables -h' or 'iptables --help' for more information. Thanks, Joel Lindsay, B.Eng Project Engineer