From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Jeppe_S=F8rensen?= Subject: iptables with alias again Date: Mon, 7 Oct 2002 19:41:18 +0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: <001201c26e28$be880e50$3dd6a483@CBOOK> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org Hello If I have a interface with e.g. 3 alias eth0 eth0:0 eth0:1 eth0:2 will this following rules apply on only eth0 and not eth0:0, eth0:1 and eth0:2 or will it apply on all of them iptables -A INPUT -i eth0 --dport 80 -j ACCEPT iptables -A INPUT -i eth0 -j DROP e.g If I get a packet on eth0:1 will the packet get ACCEPT if it is for port 80 or do I have to make a rule for all the alias where I use the alias ip instead of the -i eth0 option? Jeppe Sorensen