OT: Iptables and IP Aliasing

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

 



How does one specify an IP Alias Interface, as an interface in iptables?
The manual page suggests that one might be able to, but if I run a command 
such as:

iptables -t filter -A INPUT -i eth0:0 -p tcp -s 66.229.228/24 -d
xx.xx.xx.xx -j DROP

I get:

Warning: weird character in interface `eth0:0' (No aliases, :, ! or *).

Any thoughts on this?  Should I associate the alias IP, with the real 
interface (eth0), as far as iptables is concerned?

Luke




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux