多选题 : 网关服务器外网口IP地址为172.16.1.200/24,内网口IP地址为192.168.2.1/24,默认开启路由转发功能,内网Web服务器IP地址为192.168.2.200/24,已配置网关的地址为192.168.2.1/24,在防火墙默认阻止所有流量传入的前提下,以下哪些命令能使外部网络可以浏览内部网络的网站:
(A)iptables -t nat -A PREROUTING -i eth0 -p tcp -d 172.16.1.200 --dport 443 -j DNAT --to-destination 192.168.2.200:443
(B)iptables -A INPUT -i eth0 -p tcp -s any/0 --sport 1024:65535 -d 172.16.1.200 --dport 443 -j ACCEPT
(C)firewall-cmd --add-rich=’rule family=ipv4 source address=172.16.1.0/24 masquerade’
(D)firewall-cmd --permanent --add-rich-rule=’rule family=ipv4 destination address=172.16.1.200/32 forward-port port=443 protocol=tcp to-addr=192.168.2.200’
参考答案
继续答题:下一题
更多网络安全知识问答试题
- 1新型冠状病毒特异性IgM抗体多在发病()天后开始出现阳性,IgG抗体滴度恢复期较急性期增高()倍以上,可作为新型冠状病毒感染血清学的诊断标准。
- 2生产经营单位有下列哪种情形的,由负有安全生产监督管理职责的部门责令限期改正,可以处1万元以上5万元以下的罚款。
- 3新冠肺炎防控方案第八版要求对确诊病例应在4小时内通过这个疾病预防控制系统进行网络直报()
- 4生产经营单位有下列哪些行为, 由县级以上人民政府负有安全生产监督管理职责的部门依照《中华人民共和国安全生产法》有关规定追究法律责任。
- 51970年经济建设中,内地战略后方的建设(重点是国防工业建设)迅速全面铺开,地方“五小”工业迅猛发展。“五小”工业是指______。
- 6以下脂质分子中,具有乳化作用的是:( )