Re: iptables and virtual net interfaces?

From: Cédric Blancher (blancher@cartel-securite.fr)
Date: 01/17/02


From: Cédric Blancher <blancher@cartel-securite.fr>
To: chris@rebmatt.ch
Date: 17 Jan 2002 09:37:23 +0100

le mar 15-01-2002 à 19:46, chris@rebmatt.ch a écrit :
> On 15 Jan, Steve Wampler wrote:
> > Does anyone know if iptables understands virtual net interfaces?
> > That is, can I use eth0:2 (say) in iptables rules?
> Yes, works. I used it for a while.

Can you give an example that shows an usage of eth0:1 as an example with
iptables -i or -o flag please ?

-- 
Cédric Blancher
Consultant sécurité systèmes et réseaux
Cartel Sécurité - Groupe CGBI - http://www.cartel-securite.fr/
Tél : 01 44 06 97 87 - Fax 01 44 06 97 99



Relevant Pages

  • Re: iptables and virtual net interfaces?
    ... On 15 Jan, Steve Wampler wrote: ... > Does anyone know if iptables understands virtual net interfaces? ... can I use eth0:2 in iptables rules? ... Chris ...
    (Focus-Linux)
  • Re: Various Questions on Dropping SYN Pkts
    ... iptables includes the following rules for dropping SYN ... "By default" varies with distribution, ... iptables has a better mechanism for tracking ftp data connections. ... Why examine the RST and ACK flags if SYN is the only flag the rule ...
    (comp.os.linux.security)
  • Re: Scripting fun...
    ... You can simplify this a bit with pipes and a bit of subshelling and use ... of uniq's -u flag. ... uniq -u just prints the catenated IP addresses for iptables and from ... in the while loop with a call to echo e.g. ...
    (Ubuntu)