From: Michael Kearey <mutk@iprimus.com.au>
To: kmalewezi@deloitte.co.mw, netfilter@lists.netfilter.org
Subject: Re: Problem with -i
Date: Thu, 20 Nov 2003 17:18:45 +1000 [thread overview]
Message-ID: <3FBC6AD5.9010700@iprimus.com.au> (raw)
In-Reply-To: <003401c3af33$bd6e6f30$2400a8c0@deloitte.co.mw>
Kabango Malewezi wrote:
> Folks, can you help me with the following problem?
>
> I'd like to set a policy to accept all packets from etho on network
> 192.168.0.0/24 but when I do this:
>
> iptables -A INPUT -j ACCEPT -i eth0 -s 192.168.0.0/24
>
> the command is accepted. But when I do
>
> iptables -L I get
>
> Chain Input (policy ACCEPT)
> target prot opt source destination
> ACCEPT all --- 192.168.0.0/24 anywhere
>
> My question is WHY don't I see the eth0 anywhere?
man iptables In particular the switches -v and -x etc..
iptables -vn -L INPUT lists the details you wanted to see.
Cheers,
Michael
prev parent reply other threads:[~2003-11-20 7:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-20 6:58 Problem with -i Kabango Malewezi
2003-11-20 7:18 ` Michael Kearey [this message]
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=3FBC6AD5.9010700@iprimus.com.au \
--to=mutk@iprimus.com.au \
--cc=kmalewezi@deloitte.co.mw \
--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.