当前位置: 首页 > news >正文

网站主办单位变更花西子网络营销策划方案

网站主办单位变更,花西子网络营销策划方案,十二师建设局网站,建设直播平台网站软件为什么当linux作为router使用时#xff0c;安装docker后流量转发失败 场景 当一台linux机器作为其它服务器的router#xff0c;负责转发流量的时候#xff0c;让你在linux上安装docker之后#xff0c;就会出现流量都被drop掉了 原因 没装docker之前#xff1a; [root~]…为什么当linux作为router使用时安装docker后流量转发失败 场景 当一台linux机器作为其它服务器的router负责转发流量的时候让你在linux上安装docker之后就会出现流量都被drop掉了 原因 没装docker之前 [root~]# iptables -t raw -nvL Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain OUTPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destination[root~]# iptables -t mangle -nvL Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain INPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain FORWARD (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain OUTPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destination[root~]# iptables -t filter -nvL Chain INPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain FORWARD (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain OUTPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destination[root~]# iptables -t nat -nvL Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain INPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain OUTPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destination装docker之后 [root~]# iptables -t raw -nvL Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain OUTPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destination[root ~]# iptables -t filter -nvL Chain INPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain FORWARD (policy DROP 0 packets, 0 bytes)pkts bytes target prot opt in out source destination0 0 DOCKER-USER all -- * * 0.0.0.0/0 0.0.0.0/00 0 DOCKER-ISOLATION-STAGE-1 all -- * * 0.0.0.0/0 0.0.0.0/00 0 ACCEPT all -- * docker0 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED0 0 DOCKER all -- * docker0 0.0.0.0/0 0.0.0.0/00 0 ACCEPT all -- docker0 !docker0 0.0.0.0/0 0.0.0.0/00 0 ACCEPT all -- docker0 docker0 0.0.0.0/0 0.0.0.0/0Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain DOCKER (1 references)pkts bytes target prot opt in out source destinationChain DOCKER-ISOLATION-STAGE-1 (1 references)pkts bytes target prot opt in out source destination0 0 DOCKER-ISOLATION-STAGE-2 all -- docker0 !docker0 0.0.0.0/0 0.0.0.0/00 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0Chain DOCKER-ISOLATION-STAGE-2 (1 references)pkts bytes target prot opt in out source destination0 0 DROP all -- * docker0 0.0.0.0/0 0.0.0.0/00 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0Chain DOCKER-USER (1 references)pkts bytes target prot opt in out source destination0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0[root~]# iptables -t mangle -nvL Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain INPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain FORWARD (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain OUTPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destination[root~]# iptables -t nat -nvL Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destination5 1121 DOCKER all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type LOCALChain INPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destinationChain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destination0 0 MASQUERADE all -- * !docker0 172.17.0.0/16 0.0.0.0/0Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)pkts bytes target prot opt in out source destination3 168 DOCKER all -- * * 0.0.0.0/0 !127.0.0.0/8 ADDRTYPE match dst-type LOCALChain DOCKER (2 references)pkts bytes target prot opt in out source destination0 0 RETURN all -- docker0 * 0.0.0.0/0 0.0.0.0/0看到根本原因是 Docker 将FORWARD链的默认策略设置为DROP。这时主机还充当路由器这将导致该路由器不再转发任何流量。 解决办法 如果希望系统继续充当路由器您可以ACCEPT向DOCKER-USER链添加明确的规则以允许它 iptables -I DOCKER-USER -i src_if -o dst_if -j ACCEPT
http://www.dnsts.com.cn/news/16953.html

相关文章:

  • 大连网站推广机构网站 三合一
  • 吉林手机版建站系统价格闲鱼钓鱼链接
  • 北京网站开发企业住房城乡建设网站官网入口
  • 品牌网站设计步骤网络营销中的seo与sem
  • 天津医疗行业网站建设网站权重如何做
  • 网站设计主要内容做茶叶网站
  • 江西营销网站建设深圳招聘信息最新招聘信息查询
  • 公司网站怎么设计delphi xe10网站开发
  • 网站支付怎么做安全吗小程序开发哪家好又便宜
  • 家教网站制作韦博在上面做课件的网站叫什么
  • 温州做网站最好的网站流量 名词
  • 手机网站开发报价电子商务难学吗
  • 大型门户网站建设服务做婚庆的网站有哪些
  • 网站彩铃怎么做的wordpress下载后放哪
  • 网站开发技术知识工商网站注册公司
  • 网站制作后台怎么做网站建设汇报材料
  • 烟台响应式网站建设成都公司注册地址
  • 域名注册后怎么建网站网站怎么做子页
  • 网站没被收录什么原因图片提速插件wordpress
  • wap网站开发百度ai助手入口
  • 沈阳专业制作网站公司吗淄博优化公司
  • Dell网站建设建议北京橙乐视觉广告有限公司
  • 手机网站的页面大小建设网站怎么报价
  • 金融投资公司网站模板国外免费网站域名服务器查询
  • 金融网站开发公司网页优化包括
  • 商城类网站建设+数据库如何做美食网站设计
  • py网站开发视频教程正品查询网站怎么做
  • discuz 科技网站模板apache 配置php网站
  • 精品购物网站wordpress yeti 主题
  • 陕西交通建设有限公司网站南京做网站优化的公司