Re: 'ip route' and 'ipset'...

Linux Advanced Routing and Traffic Control

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

 



Hi,

On Fri, Jan 31, 2020 at 04:06:25PM +0100, Marco Gaiarin wrote:
> There's a way to use 'ipset' (eg, host list) in a route, eg 'ip route'
> and/or 'ip rule'?

Not to my knowledge, but you may use nftables' route type chains to
implement policy routing in nftables which supports sets natively. If
any of paket mark, source or destination address or TOS fields are
changed by a rule in route type chain, routing decision will be redone
for the packet.

Cheers, Phil



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux