All of lore.kernel.org
 help / color / mirror / Atom feed
* Virtual interfaces
@ 2004-07-05 14:42 Dott. Francesco Chicchiriccò
  2004-07-07  9:27 ` Askar Ali Khan
  2004-07-07 13:50 ` Aleksandar Milivojevic
  0 siblings, 2 replies; 6+ messages in thread
From: Dott. Francesco Chicchiriccò @ 2004-07-05 14:42 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 1183 bytes --]

Hi,
after spending some time with iptables and linux virtual interfaces, I've 
decided to ask.

I have a Linux BOX acting as a router among different LANs. I'm doing some 
filtering (only ssh traffic coming from a certain MAC addrress can go from 
one LAN to another, an so on): 

iptables -t filter -P FORWARD DROP
iptables -A FORWARD -i eth0 -s 192.168.0.0/24 -p TCP -m mac --mac-source 
$whiskey_MAC -d 192.168.10.0/24 --dport 22 -j ACCEPT

With physical interfaces only, all works well. When a try to filter traffic 
between 2 LANs attached to the same physical interface but with 2 different 
virtual IPs, it starts messing. Nothing works, I can't even log packets.

Is that a known bug? Am I just misunderstanding?
Please help.
-- 
##################################################################

"Computer Science is no more about computers than astronomy 
is about telescopes." (E. W. Dijkstra)

Dott. Francesco Chicchiriccò
Amministratore unico
Tel 3290573276

ePOSSE S.r.l.
Sede operativa: Via dei Marrucini, 11 65127 Pescara
Tel / FAX 0854503336
http://www.eposse.it

##################################################################

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <a0f69e5040704225918359fec@mail.gmail.com>]
* virtual interfaces
@ 2004-07-05  4:54 ip tables
  0 siblings, 0 replies; 6+ messages in thread
From: ip tables @ 2004-07-05  4:54 UTC (permalink / raw)
  To: ip tables

Hi gurus,

Does iptables support rules written with virtual
interfaces such as eth0:0 for all input,output and
forward chains?. Pls help urgent requirement!!

TIA


		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-07-07 13:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-05 14:42 Virtual interfaces Dott. Francesco Chicchiriccò
2004-07-07  9:27 ` Askar Ali Khan
2004-07-07 13:50 ` Aleksandar Milivojevic
     [not found] <a0f69e5040704225918359fec@mail.gmail.com>
2004-07-05  6:27 ` virtual interfaces ip tables
2004-07-05  6:49   ` Ming-Ching Tiew
  -- strict thread matches above, loose matches on Subject: below --
2004-07-05  4:54 ip tables

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.