* Problem with -i
@ 2003-11-20 6:58 Kabango Malewezi
2003-11-20 7:18 ` Michael Kearey
0 siblings, 1 reply; 2+ messages in thread
From: Kabango Malewezi @ 2003-11-20 6:58 UTC (permalink / raw)
To: netfilter
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?
Kabango
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem with -i
2003-11-20 6:58 Problem with -i Kabango Malewezi
@ 2003-11-20 7:18 ` Michael Kearey
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kearey @ 2003-11-20 7:18 UTC (permalink / raw)
To: kmalewezi, netfilter
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-20 7:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-20 6:58 Problem with -i Kabango Malewezi
2003-11-20 7:18 ` Michael Kearey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox