- 1、本文档共15页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
linux面试题补全(Complete the Linux interview questions)
linux面试题补全(Complete the Linux interview questions)
1. how to forward the local 80 port request to the 8080 port, the current host IP is , in which the local network card eth0:
Answer:
#iptables, -t, NAT, -A, PREROUTING, -d, , -p, TCP - dport,, -j,, DNAT - to :8080
Or:
#iptables, -t, NAT, -A, PREROUTING, -i, -d, , -p, TCP, -m, TCP, eth0 - dport 80, -j, REDIRECT - to-ports
2. what is NAT, which is commonly divided into those, DNAT and SNAT are different, what are the examples of applications?
SNAT, DNAT, MASQUERADE are all NAT.
MASQUERADE is a special case of SNAT.
SNAT means that when the packet is sent from the NIC, the source address portion of the packet is replaced with the specified IP, so that the receiver believes that the source of the packet is the host of the IP that was replaced.
The MASQUERADE replaces the source IP with the IP on the network card that sends the data, so for the MASQUERADE where the IP is not fixed, such as dial-up networks or by allocating IP through DHCP, you have to use the.
DNAT, refers to the data packet from network card to send out, modify the data package in the IP, as if you want to access the A, but because the gateway to do DNAT, to access all of the A data packet to IP all changes to B, so you actually visit B
Because routing is chosen according to the destination address, so DNAT is carried out on the PREROUTING chain, and SNAT is carried out when the packet is sent out, so it is carried out on the POSTROUTING chain.
What is the difference between the 3. packet filter firewall and the proxy application firewall? Can you list some corresponding products?
Packet filtering firewall is based on the Baotou filter, and is in the network layer, according to the source IP address of the packet, the destination IP address, protocol type, port number, filtering agent; application firewall works in the application layer, he will use a proxy server technology, network access to the external network, to access the firewall on the network
您可能关注的文档
- ards激素冲击是否奏效(ARDS hormone impact will work).doc
- arm_st7920驱动程序(Arm_st7920 driver).doc
- arm开发之一种dwt域基于ifs的数字水印算法(Digital watermarking algorithm based on IFS arm development of DWT Domain).doc
- arm的开发步骤(The development of arm steps).doc
- as常用代码(As common code).doc
- as的基本代码解释(The basic as code explanation).doc
- atc scm20的打摩(ATC scm20 rub).doc
- atx电源结构图(ATX power supply structure).doc
- auto cad 命令大全(Auto CAD命令大全).doc
- autocad 2004命令大全(AutoCAD command Daquan 2004).doc
- 2025年广东轻工职业技术大学招聘事业单位工作人员(10人)笔试备考试题附答案详解(完整版).docx
- 2025年惠州市惠城区马安镇人民政府招聘党建联络员和社区“两委”笔试备考试题含答案详解(黄金题型).docx
- 2025年太仆寺旗事业单位引进急需紧缺人才的(4人)模拟试卷及答案详解(易错题).docx
- 2025年山东各市各级机关补充公务员考试汇总(613名)模拟试卷及答案详解(基础+提升).docx
- 2025年广西河池市罗城仫佬族自治县农业农村局关于招募特聘农技员模拟试卷及一套完整答案详解.docx
- 2025年广东轻工职业技术大学招聘工作人员(12人)笔试备考试题及答案详解(名师系列).docx
- 2025年度信宜市民政局所属事业单位(信宜市社会福利指导中心)选考前自测高频考点模拟试题附答案详解(.docx
- 2025年度中国城市规划设计研究院(第二批)招聘(2人)考前自测高频考点模拟试题附答案详解(预热题).docx
- 2025年度中华基督教青年会全国协会 中华基督教女青年会全国协会公模拟试卷及一套答案详解.docx
- 2025年威海荣成市面向村(社区)党组织书记公开招聘事业单位工作人员考试总考前自测高频考点模拟试题及.docx
文档评论(0)