summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-nft.8
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2023-11-25 17:12:50 +0100
committerFlorian Westphal <fw@strlen.de>2023-11-27 13:02:44 +0100
commit0f5f2f38baf8de62d2ac81247260d7ee316141aa (patch)
treef09d26908d190a54f4ef90f71144114f887f82f8 /iptables/xtables-nft.8
parent59d56698064f7c96036b322fae221d829d058545 (diff)
man: proper roff encoding for ~ and ^
Fixes: v1.8.10-28-g4b0c168a Signed-off-by: Jan Engelhardt <jengelh@inai.de> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/xtables-nft.8')
-rw-r--r--iptables/xtables-nft.816
1 files changed, 8 insertions, 8 deletions
diff --git a/iptables/xtables-nft.8 b/iptables/xtables-nft.8
index 3ced29ca..ae54476c 100644
--- a/iptables/xtables-nft.8
+++ b/iptables/xtables-nft.8
@@ -105,15 +105,15 @@ One basic example is creating the skeleton ruleset in nf_tables from the
xtables-nft tools, in a fresh machine:
.nf
- root@machine:\~# iptables\-nft \-L
+ root@machine:\(ti# iptables\-nft \-L
[...]
- root@machine:\~# ip6tables\-nft \-L
+ root@machine:\(ti# ip6tables\-nft \-L
[...]
- root@machine:\~# arptables\-nft \-L
+ root@machine:\(ti# arptables\-nft \-L
[...]
- root@machine:\~# ebtables\-nft \-L
+ root@machine:\(ti# ebtables\-nft \-L
[...]
- root@machine:\~# nft list ruleset
+ root@machine:\(ti# nft list ruleset
table ip filter {
chain INPUT {
type filter hook input priority 0; policy accept;
@@ -175,12 +175,12 @@ To migrate your complete filter ruleset, in the case of \fBiptables(8)\fP,
you would use:
.nf
- root@machine:\~# iptables\-legacy\-save > myruleset # reads from x_tables
- root@machine:\~# iptables\-nft\-restore myruleset # writes to nf_tables
+ root@machine:\(ti# iptables\-legacy\-save > myruleset # reads from x_tables
+ root@machine:\(ti# iptables\-nft\-restore myruleset # writes to nf_tables
.fi
or
.nf
- root@machine:\~# iptables\-legacy\-save | iptables\-translate\-restore | less
+ root@machine:\(ti# iptables\-legacy\-save | iptables\-translate\-restore | less
.fi
to see how rules would look like in the nft