ひじりんのひつまむしブログ

現役システムエンジニアのゲームやら映画やら技術やら・・

AlmaLinuxのfirewalldがエラーとなる場合の対応法

 

エラー

firewall-cmdにてエラーとなる場合がある

#firewall-cmd --reload

Error: COMMAND_FAILED: 'python-nftables' failed: internal:0:0-0: Error: Could not process rule: Numerical result out of range


JSON blob:
{"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"chain": {"family": "inet", "table": "firewalld", "name": "filter_IN_policy_allow-host-ipv6"}}}]}

 

対応法

vi /etc/firewalld/firewalld.conf

このファイル内の

FirewallBackend=nftables

FirewallBackend=iptables

に変更

PVアクセスランキング にほんブログ村