iptables with alias again

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

 



On Monday 07 October 2002 6:41 pm, Jeppe Sørensen wrote:

> Hello
> If I have a interface with e.g. 3 alias
> eth0
> eth0:0
> eth0:1
> eth0:2
>
> will this following rules apply on only eth0 and not eth0:0, eth0:1 and
> eth0:2 or will it apply on all of them
>
> iptables -A INPUT -i eth0 --dport 80 -j ACCEPT
> iptables -A INPUT -i eth0 -j DROP

It will apply to all of them.

Antony.

-- 

Having been asked to provide a reference for this man,
I can confidently state that you will be very lucky indeed
if you can get him to work for you.



[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