Update format for how_to_migrating_from_iptables_to_nftables_in_debian10.md

This commit is contained in:
Samson-W 2019-07-19 02:23:28 +08:00
parent 64a6d8209c
commit 007c10ed90

View File

@ -52,7 +52,7 @@ Instead of translating command by command, you can translate your whole ruleset
```
$ sudo iptables-save > save.txt
$ sudo iptables-restore-translate -f save.txt
\# Translated by iptables-restore-translate v1.8.2 on Fri Jul 12 04:33:36 2019
# Translated by iptables-restore-translate v1.8.2 on Fri Jul 12 04:33:36 2019
add table ip filter
add chain ip filter INPUT { type filter hook input priority 0; policy drop; }
add chain ip filter FORWARD { type filter hook forward priority 0; policy drop; }