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

抖音代运营服务达不到退费标准seo实训报告

抖音代运营服务达不到退费标准,seo实训报告,电商网站的推广方式,外国媒体网站原标题#xff1a;实战经验#xff1a;Linux Source NAT在Ping场景下的应用有时候#xff0c;有这样的一种需求#xff1a;需要修改IP数据包中的源地址#xff0c;比如#xff0c;从某一个主机发送Ping包到另一个主机#xff0c;需要修改源地址为另一个源(通常#xff…原标题实战经验Linux Source NAT在Ping场景下的应用有时候有这样的一种需求需要修改IP数据包中的源地址比如从某一个主机发送Ping包到另一个主机需要修改源地址为另一个源(通常发出Ping请求的主机有多个网卡地址)。为了解决这一需求Linux下的netfilter组件中有个Source NAT的功能可以修改IP数据包中的源地址。此功能实际上是通过iptables在POSTROUTING链中添加一条规则此规则在数据包被最终发送出去之前被应用。下面是一个实例主机A网络配置eth0: 192.168.10.10eth1: 172.18.10.10主机B:eth0: 192.168.10.11) 第一张场景从A发送Ping请求到B:# ping 192.168.10.1通过WireShark抓包可以知道Ping包中的源地址为192.168.10.10(默认Ping请求从eth0出来)目的地址是192.168.10.1。2) 第二种场景从A发送Ping请求到B并使用-I选项# ping 192.168.10.1 -I 172.18.10.10在此场景下这里指定了-I选项表明指定源地址为172.18.10.10。所以Ping请求包中的源地址变为172.18.10.10目的地址不变依然为192.168.10.1。问题来了怎样在第二种场景中(在指定-I选项的情况下)将源地址修改为192.168.10.10?解决方法添加Source NAT规则。具体步骤如下添加规则# iptables -t nat -A POSTROUTING -o eth0 -j SNAT –to 192.168.10.10添加完上述规则后再次执行ping 192.168.10.1 -I 172.18.10.10可以通过抓包发现Ping请求中的源地址已经由172.18.10.10修改为192.168.10.10。备注如果想删除上面添加的Source NAT规则可以执行如下指令删除删除规则# iptables -t nat -A POSTROUTING -o eth0 -j SNAT –to 192.168.10.10查看规则# iptables -nvL -t nat参考资料以下内容来自netfilter官网帮助文档也记录在这里留作参考1) Source NATYou want to do Source NAT; change the source address of connections to something different. This is done in the POSTROUTING chain, just before it is finally sent out; this is an important detail, since it means that anything else on the Linux box itself (routing, packet filtering) will see the packet unchanged. It also means that the -o’ (outgoing interface) option can be used.Source NAT is specified using -j SNAT’, and the –to-source’ option specifies an IP address, a range of IP addresses, and an optional port or range of ports (for UDP and TCP protocols only).MasqueradingThere is a specialized case of Source NAT called masquerading: it should only be used for dynamically-assigned IP addresses, such as standard dialups (for static IP addresses, use SNAT above).You don’t need to put in the source address explicitly with masquerading: it will use the source address of the interface the packet is going out from. But more importantly, if the link goes down, the connections (which are now lost anyway) are forgotten, meaning fewer glitches when connection comes back up with a new IP address.2) Destination NATThis is done in the PREROUTING chain, just as the packet comes in; this means that anything else on the Linux box itself (routing, packet filtering) will see the packet going to its real’ destination. It also means that the -i’ (incoming interface) option can be used.Destination NAT is specified using -j DNAT’, and the –to-destination’ option specifies an IP address, a range of IP addresses, and an optional port or range of ports (for UDP and TCP protocols only).RedirectionThere is a specialized case of Destination NAT called redirection: it is a simple convenience which is exactly equivalent to doing DNAT to the address of the incoming interface.Note that squid needs to be configured to know it’s a transparent proxy!返回搜狐查看更多责任编辑
http://www.zqtcl.cn/news/710337/

相关文章:

  • 网站开发关键技术网站自动推广软件免费
  • 前端学习网站南阳东莞网站建设公司哪家好
  • 关于做网站的了解点wordpress小程序插曲
  • PHP网站开发与管理设计心得个人可以做聊天网站备案吗
  • 开公司可以在哪些网站做推广上海画册设计
  • 成都高新区规划建设局网站网络营销方式有哪些?举例说明
  • 国家企业信用公信系统入口seo服务
  • 个人网站网页模板室内装修设计自学软件
  • 什么网站可以做告白的网页网站模板套用湖南岚鸿
  • 膜结构网站推广怎么做怎样把网站上传到空间
  • 三维网站是怎么做的商城网站 运营
  • 程序员网站开发框架无锡网络公司网站建设app微信公众号平
  • 中关村网站建设网络营销策划书范文
  • 电商网站建设与课程设计科技网站模版
  • 建设部网站资质漳州最专业的网站建设公司
  • 网站建设需求和页面需求怎么提一个静态网站怎么做
  • 宝塔wordpress广州网站营销seo
  • 甘肃城乡建设厅网站首页发布公司信息的网站
  • 工信部网站备案查询 手机凡科网微信小程序制作
  • 一站多通怎么做网站网站推广工具 刷链接
  • 学生做网站的工作室网络舆情监测与研判考试重点
  • 做网站去哪个公司好广告创意设计论文
  • 20m带宽做网站够用吗win7创建wordpress
  • qq音乐怎么做mp3下载网站发卡网站建设方案
  • 做cpc不做网站可以吗网站跳出率
  • 公司网站变更域名有了域名就可以做网站了吗
  • 网站建设推广营销策划做外贸网站需要注册公司吗
  • 可信赖的赣州网站建设做羽毛球网站
  • 如何找网站做推广wordpress登录及注册
  • 韩国美容网站 模板wordpress中英文