Red Hat Training
A Red Hat training course is available for RHEL 8
47.11.2. 从文件中恢复 nftables 规则集
您可以从文件恢复 nftables
规则集。
流程
要恢复
nftables
规则:如果要恢复的文件是
nft list ruleset
生成的格式,或直接包含nft
命令:# nft -f file.nft
如果要恢复的文件采用 JSON 格式:
# nft -j -f file.json