[ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-cal
永久解决方法:
在/etc/sysctl.conf中添加:
net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-iptables = 1
执行sysctl -p 时刷新
sysctl -p
如果出现 缺少文件的现象
sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-iptables: 没有那个文件或目录
这是因为之前配置的br_netfilter没有启动,运行一下命令即可,则确认是否驱动加载完成
#驱动加载 modprobe br_netfilter bridge
参考:https://blog.csdn.net/qq_47904804/article/details/131030273