eg nftables
Some commands work:Networking: The nftables framework replaces iptables in the role of the default network packet filtering facility.
Code: Select all
[root@centos8 ~]# nft list tables
table ip filter
table ip6 filter
table bridge filter
table ip security
table ip raw
table ip mangle
table ip nat
table ip6 security
table ip6 raw
table ip6 mangle
table ip6 nat
table bridge nat
table inet firewalld
table ip firewalld
table ip6 firewalld
[root@centos8 ~]# nft list table ip filter
table ip filter {
chain INPUT {
type filter hook input priority 0; policy accept;
}
chain FORWARD {
type filter hook forward priority 0; policy accept;
}
chain OUTPUT {
type filter hook output priority 0; policy accept;
}
}
Code: Select all
[root@centos8 ~]# nft export
Error: syntax error, unexpected newline, expecting ruleset or xml or json or vm
export
^
[root@centos8 ~]# nft export xml
Error: this output type is not supported
export xml
^^^^^^^^^^^
[root@centos8 ~]# nft export json
Error: this output type is not supported
export json
^^^^^^^^^^^^
[root@centos8 ~]# nft export vm
Error: syntax error, unexpected newline, expecting json
export vm