admin管理员组

文章数量:1642342

网上的文章很多都是配置错误的:

firewalld添加规则:

firewall-cmd --add-rich-rule='rule protocol value="vrrp" accept' --permanent

firewall-cmd --reload

配置成功。

网上防火墙另一种配置:

firewall-cmd --direct --permanent --add-rule ipv4 filter OUTPUT 0 \--out-interface ens192 --destination 224.0.0.18 --protocol vrrp -j ACCEPT

根据网卡进行设置的,无效,不知道是不是我配置错了。

规则删除命令:

firewall-cmd --direct --permanent --remove-rule ipv4 filter OUTPUT 0 \--out-interface enp192 --destination 224.0.0.18 --protocol vrrp -j ACCEPT

keepalived配置相关内容我就不放了,大把的配置。

本文标签: 协议KeepalivedfirewalldVRRP