All of lore.kernel.org
 help / color / mirror / Atom feed
* iptables with alias again
@ 2002-10-07 17:41 Jeppe Sørensen
  2002-10-07 19:12 ` Antony Stone
  0 siblings, 1 reply; 4+ messages in thread
From: Jeppe Sørensen @ 2002-10-07 17:41 UTC (permalink / raw)
  To: netfilter

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



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

end of thread, other threads:[~2002-10-07 19:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-07 17:41 iptables with alias again Jeppe Sørensen
2002-10-07 19:12 ` Antony Stone
2002-10-07 19:22   ` Iptables tutorial Bishop
2002-10-07 19:30     ` Antony Stone

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.