Skip to contentSkip to conversation

nft: ranges in named maps?

DISCUSSION Andreas Schultz 1 participant 1 message Jul 3, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

How do I specify ranges in named maps?

I would like to have something like this:

nft add map nat setnat { type ipv4_addr . inet_service : ipv4_addr\;} nft add element net setnat { 10.10.0.1 . 1000-2000 : 192.168.1.1 };

However, it seems I can't tell nft in any way that inet_service is supposed to be a range.

Andreas