Re: Iptables Make Rules On Different Interface? "iptables - L" shows no difference!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2004-06-06 at 22:57, ke chen wrote:

> I want to make iptables impose different rules on two ethernet
> interfaces.

[...]

> when applying these rules, iptables -L
> it shows 
> Chain INPUT (policy DROP)
> target prot opt source destionation
> Accept all -- anywhere anywhere

You need to use the -v option, which causes iptables to show you the
interface associated with a rule.

Ciao,
Sheldon.




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux