matching -d to a given interface without specifying ip address

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

 



Hello,

Is there a way to define a condition "those packets whose destination is the IP address of the given interface" without specifying the actual IP address? (it changes, thus needs to be detected and updated)

I want to be able to distinguish those packets addressed to the box, to be forwarded, from those just passing through it. (-i matches both)

Such packets can be discovered in the INPUT chains, after the "routing decision", but by then it's too late to do DNAT.

Thanks,

--Dmitri


[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