错误日志
iptables v1.8.9 (nf_tables): chain 1PANEL_PREROUTING' in table
nat' is incompatible, use 'nft' tool.
问题原因
debian现在默认使用了nftables
作为iptables的后端,而1Panel的部分规则与nftables不兼容。
解决方案
将iptables切换为传统模式
sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
2.重启防火墙