From 7b66fc22aca000440fd6d6fbce7ff35811edea5e Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Thu, 5 Jul 2018 20:53:17 +0200 Subject: man: clarify translate tools do not modify any state Signed-off-by: Florian Westphal --- iptables/xtables-nft.8 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'iptables/xtables-nft.8') 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. -- cgit v1.2.3