Linux Netfilter discussions
 help / color / mirror / Atom feed
* map problem with port range
@ 2023-10-31 18:38 Daniel
  2023-11-01  8:32 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel @ 2023-10-31 18:38 UTC (permalink / raw)
  To: Netfilter list

Hi list

nft 1.02 I have following map configuration:

map forward_udp.lan {
     type ipv6_addr . inet_service : interval ipv6_addr . inet_service
     flags interval
     elements = { 2001:db8::1 . 20000-24999 : 2001:db8:16e:10::ffee . 
20000-24999 }
}

ip6 chain prerouting

add rule ip6 nat prerouting ip6 daddr . udp dport map @forward_udp.lan

but I get a syntax error, unexpected newline

Where is my mistake ?

-- 
Daniel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-02 10:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-31 18:38 map problem with port range Daniel
2023-11-01  8:32 ` Pablo Neira Ayuso
2023-11-01 13:28   ` Daniel
2023-11-02 10:15     ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox