All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mario Antonio" <dino@webjogger.net>
To: netfilter@lists.netfilter.org
Subject: alias interfaces
Date: Fri, 18 Oct 2002 12:20:06 -0400	[thread overview]
Message-ID: <03c701c276c2$388fb3f0$13c01dd0@shadowfax> (raw)

Dear List,

I have configured eth0(10.10.10.2) and the alias interface eth0:0
(10.10.10.3)

do I have to specify both interfaces in my set of rules to allow traffic in?

something like:

/usr/local/sbin/iptables -A INPUT -i eth0    -s 0/0 -d 10.10.10.2 -p tcp -m
tcp --dport 80 -j ACCEPT
/usr/local/sbin/iptables -A INPUT -i eth0:0  -s 0/0 -d 10.10.10.3 -p tcp -m
tcp --dport 80 -j ACCEPT

How shoud I handle the alias interfaces?

Regards

Mario

---
[This e-mail was scanned for viruses by Webjogger's AntiVirus Protection System]



             reply	other threads:[~2002-10-18 16:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-18 16:20 Mario Antonio [this message]
2002-10-18 16:51 ` alias interfaces Antony Stone
     [not found]   ` <03f901c276e0$910fd140$13c01dd0@shadowfax>
2002-10-18 20:01     ` Antony Stone
     [not found]       ` <041501c276e7$489b5ea0$13c01dd0@shadowfax>
2002-10-18 22:21         ` Antony Stone
  -- strict thread matches above, loose matches on Subject: below --
2002-10-18 23:40 Mario Antonio
2002-10-19  8:05 ` Antony Stone
2002-10-19 19:08   ` Mario Antonio

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='03c701c276c2$388fb3f0$13c01dd0@shadowfax' \
    --to=dino@webjogger.net \
    --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 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.