summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/nf_nat.h
Commit message (Collapse)AuthorAgeFilesLines
* src: add nat persistent and random optionsArturo Borrero2014-10-091-0/+42
This patch adds more configuration options to the nat expression. The syntax is as follow: % nft add rule nat postrouting <snat|dnat> <nat_arguments> [flags] Flags are: random, persistent, random-fully. Example: % nft add rule nat postrouting dnat 1.1.1.1 random,persistent A requirement is to cache some [recent] copies of kernel headers. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>