找回密码
 注册
查看: 16|回复: 0

firewall-cmd 添加vrrp策略

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2024-8-13 22:22:34 | 显示全部楼层 |阅读模式
[root@node ~]# firewall-cmd --permanent --add-protocol=vrrp / b* t  k& D  D0 }3 }
success
% d7 [  _# Z4 r- q[root@jnode ~]# firewall-cmd --reload
* p4 i# |" W% d4 ~% o( }5 Esuccess
$ A. [6 l: V# @6 Z# O- k[root@node ~]# firewall-cmd --list-all2 H- G  Y% D  {* W3 C) O1 f
public (active)
) L6 h3 W. @# I4 S7 y  target: default
1 N9 k+ d& ]* A/ \+ @  icmp-block-inversion: no
( g# }0 h' |( n9 b  interfaces: ens160
5 q( `8 X! c; G' M  sources: ! f+ j6 Y/ b$ K+ b; j$ G
  services: dhcpv6-client ssh# u: g# `" ]* C2 n
  ports: 60028/tcp 443/tcp 2222/tcp 80/tcp 22/tcp 514/tcp 514/udp 9100/tcp 10050/tcp 3389/tcp
( Q  S% Q6 f7 P+ {6 _1 Z6 `  q  protocols: vrrp$ n/ T! \6 ~0 ?6 q0 K3 C
  masquerade: no' u" P) P6 O: Z% V
  forward-ports:
& V0 _* O4 B- p' H  @$ w  source-ports:
! Z, e: k# A) w7 L2 i  icmp-blocks: 1 v8 Q2 S7 J$ I: [! X  Q! b  s

% S0 C6 |+ `  P5 O" C/ t2 W7 y
% E* x  k% U, r- S- P( L
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-11 23:15 , Processed in 0.014645 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表