我尝试使用firewalld
而不是,但即使通过ufw
手动下载后,它仍然显示以下错误python-nftables
sudo apt install
iptables
没有被使用。
$ systemctl status iptables
Unit iptables.service could not be found.
FirewallBackend
nftables
当我检查时已经设置为/etc/firewalld/firewalld.conf
。
错误信息1
ERROR: 'python-nftables' failed: internal:0:0-0: Error: Could not process rule: No such file or directory
JSON 斑点:
{"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"chain": {"family": "inet", "table": "firewalld", "name": "mangle_PREROUTING", "type": "filter", "hook": "prerouting", "prio": -140}}}, {"add": >
错误信息2
ERROR: COMMAND_FAILED: 'python-nftables' failed: internal:0:0-0: Error: Could not process rule: No such file or directory
JSON 斑点:
{"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"chain": {"family": "inet", "table": "firewalld", "name": "mangle_PREROUTING", "type": "filter", "hook": "prerouting", "prio": -140}}}, {"add": >
这可行,但我不确定我是否可以这样做。修改/etc/firewalld/firewalld.conf
为IPv6_rpfilter=no
作品。
任何想法?