Ubuntu 22.04ファイアウォールの起動に関する問題:python-nftablesなし

Ubuntu 22.04ファイアウォールの起動に関する問題:python-nftablesなし

代わりに試しましたが、手動でダウンロードfirewalldした後でufwも、次のエラーが表示されます。python-nftablessudo apt install

iptables使用されません。

$ systemctl status iptables
Unit iptables.service could not be found.

FirewallBackendnftables確認してみるとすでに設定されていました/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

どんなアイデアがありますか?

ベストアンサー1

おすすめ記事