Notice: failed to open file: /www/wwwroot/gongfang.ucday.com/./data/plugindata/freeaddon_editposttime.lang.php 【已解决】NAT模式LVS搭建 - 疑问解答 - 论坛-沈阳职业-信息工程学院研创工坊 - 信息工程学院-云运维工坊

【已解决】NAT模式LVS搭建

[复制链接]
  • 打卡等级:初来乍到
  • 打卡总天数:3
  • 打卡月天数:0
  • 打卡总奖励:25
  • 最近打卡:2023-12-14 10:15:47

2

主题

3

回帖

77

积分

注册会员

积分
77
发表于 2023-12-14 10:15:47 | 显示全部楼层
把服务器上的iptables规则清空并保存
,命令如下:

          NAT模式LVS搭建的第一步发现他显示错误
    我就先关闭防火墙
fetenfore 0
systemctl stop firewalld
还是显示不出来ok
iptables -F;
iptables -t nat -F;
发现是正确的
service iptables save   
发现错误
应该没有这个yum源于是我就安装了service iptables save   
yum -y install iptables-service




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

举报

  • 打卡等级:初来乍到
  • 打卡总天数:3
  • 打卡月天数:0
  • 打卡总奖励:25
  • 最近打卡:2023-12-14 10:15:47

2

主题

3

回帖

77

积分

注册会员

积分
77
楼主 | 发表于 2023-12-14 10:19:02 | 显示全部楼层
先关闭防火墙
fetenfore 0
systemctl stop firewalld
还是显示不出来ok
iptables -F;
iptables -t nat -F;
发现是正确的
service iptables save   
发现错误
应该没有这个yum源于是我就安装了service iptables save   
yum -y install iptables-service
您需要登录后才可以回帖 登录 | 立即注册
快速回复 返回顶部 返回列表