diff options
author | Florian Westphal <fw@strlen.de> | 2018-07-05 20:53:17 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-07-05 20:53:34 +0200 |
commit | 7b66fc22aca000440fd6d6fbce7ff35811edea5e (patch) | |
tree | cee61ea15cd307ed13428f187ab7124aeb0717a9 /iptables/xtables-nft.8 | |
parent | f7fec51277e4172d7d05db60e29b4c6cc9746c90 (diff) |
man: clarify translate tools do not modify any state
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/xtables-nft.8')
-rw-r--r-- | iptables/xtables-nft.8 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/iptables/xtables-nft.8 b/iptables/xtables-nft.8 index 9c223eda..702bf954 100644 --- a/iptables/xtables-nft.8 +++ b/iptables/xtables-nft.8 @@ -178,7 +178,14 @@ you would use: root@machine:~# iptables\-legacy\-save > myruleset # reads from x_tables root@machine:~# iptables\-nft\-restore myruleset # writes to nf_tables .fi +or +.nf + root@machine:~# iptables\-legacy\-save | iptables-translate-restore | less +.fi +to see how rules would look like in the nft +\fBnft(8)\fP +syntax. .SH LIMITATIONS You should use \fBLinux kernel >= 4.17\fP. |