2002-05-15 16:26:05+0300, Nick Fedchik <[EMAIL PROTECTED]> ->
> Hello [EMAIL PROTECTED],
> 
>  I'm amateur programmer, but trying to make subj in userspace.
>  It's may be something like libipt_mac, but for the beginning I want to
>  use only one VLAN ID per rule.
>  My module libipt_vlan.c based on libipt_helper
>  But some doubts are cast upon it.
> 
>  Where I can get VLAN ID from tagged frame?
>  I must make something else?
>  

Use the interface name directly.

Example to let eth2 VLAN 3 pass:
iptables -A INPUT -i eth2.3 -j ACCEPT

-- 
/Joakim Axelsson A.K.A Gozem@EFnet & OPN

Reply via email to