说明:
网关服务器连接互联网网卡为eth0
地址为100.1.1.10,他是个公网的地址。分配到external(外部区域)
;连接Web服务器网卡接口为eth2
地址为192.168.2.1,分配到firewalld的dmz
区域。
要求:
- Web服务器和网关服务器均通过SSH远程控制,为了安全,将SSH的默认端口号改为:6682
- Web服务器开启Https,过滤未加密的http流量,仅允许通过Https访问。
- Web服务器拒绝Ping。
环境:
主机 | 系统 | 网卡:IP/Netmask |
---|---|---|
①.firewalld&网关 | Centos7.3 | eth0:100.1.1.10/24 |
①. | ① | eth1:192.168.1.1/24 |
①. | ① | eth2:192.168.2.1/24 |
②.internet测试机 | Centos7.3 | eth0:100.1.1.20/24 |
3?.内网测试机 | Centos7.3 | eth0:192.168.1.10 |
④.Web服务器(DMZ) | Centos7.3 |