Re: Questions re iproute2, netfilter, and locally sourced packets

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

 



Ian Batterbee wrote:

2. How can I identify to "ip rule" packets that are locally sourced ?

I've used something like this in the past:

ip rule add iif lo lookup <some table>

That rule will match locally generated packets regardless of where they are going.

Hope that helps,
Menno


[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