From: "Jeppe Sørensen" <smed@tdcadsl.dk>
To: netfilter@lists.netfilter.org
Subject: iptables with alias again
Date: Mon, 7 Oct 2002 19:41:18 +0200 [thread overview]
Message-ID: <001201c26e28$be880e50$3dd6a483@CBOOK> (raw)
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
next reply other threads:[~2002-10-07 17:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-07 17:41 Jeppe Sørensen [this message]
2002-10-07 19:12 ` iptables with alias again Antony Stone
2002-10-07 19:22 ` Iptables tutorial Bishop
2002-10-07 19:30 ` Antony Stone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001201c26e28$be880e50$3dd6a483@CBOOK' \
--to=smed@tdcadsl.dk \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox