13.7开启Linux的路由功能、设置防火墙和NAT
#ens192为外网网卡, ens160为内网网卡 [root@dsrw ~]# iptables -F [root@dsrw ~]# iptables -A FORWARD -i ens160 -j ACCEPT [root@dsrw ~]# iptables -t nat -A POSTROUTING -s 192.168.1.0/2...
8.9 防火墙IPSEC-VPN
1.防火墙区域配置 #FW1配置 firewall zone trust add interface GigabitEthernet1/0/1 firewall zone untrust set priority 5 add interface GigabitEthernet1/0/0 #FW2配置 firewall zone trus...
13.6配置pptp配置文件
[root@dsrw ~]# vim /etc/pptpd.conf 105 localip 192.168.10.2 106 remoteip 192.168.1.2-238,192.168.1.245
5.4 NFS 网络文件系统
在Linux系统之间部署共享文件系统。 1.在linux服务器上配置安全策略 [root@dsrw ~]# iptables -F [root@dsrw ~]# iptables-save # Generated by xtables-save v1.8.2 on Wed Dec 21 21:18:57 20...
5.4 部署唯缓存DNS服务器
1)唯缓存DNS服务器(192.168.1.1)DNS设置 图5-20 客户端DNS服务器配置 2)客户端DNS服务器(192.168.1.3)DNS设置 图5-21 客户端DNS服务器配置 3)设置转发器 图5-22 设置转发器 4)“根提示...
17.2 PPP PAP配置
1.R1配置 [R1-Serial0/0/0]link-protocol ppp Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]:y 2.R2配置 [R2-Serial0/0/0]link-protocol ppp 3.PAP认证...
第39章 Multi-VPN-Instance CE(MCE)
图39-1 Multi-VPN-Instance CE(MCE)配置网络拓扑 1.CE1配置 [CE1]bgp 400 [CE1-bgp]router-id 4.4.4.4 [CE1-bgp]peer 14.1.1.1 as-number 12 [CE1-bgp]import-route direct 2.CE2配置 [CE2]bgp ...
第4章 防火墙单节点二层与三层部署-4.1 防火墙单节点二层与三层部署-路由对接第4章 防火墙单节点二层与三层部署-
1.RIP对接 1)FW1基础配置 interface GigabitEthernet1/0/1 ip address 10.1.1.91 255.255.255.0 service-manage all permit interface GigabitEthernet1/0/2 ip address 10.2.2.91 255.255.255...











