智能选路+NAT实验

发布于:2025-02-22 ⋅ 阅读:(15) ⋅ 点赞:(0)

智能选路+NAT实验

1.拓扑

在这里插入图片描述

2.配置

1.配IP(按图配,略)

在这里插入图片描述

2.配真实DNS服务器

在这里插入图片描述

3.虚拟服务器

在这里插入图片描述

4.配置DNS透明代理功能

[USG6000V1]dns-transparent-policy
[USG6000V1-policy-dns]dns t	
[USG6000V1-policy-dns]dns transparent-proxy en	
[USG6000V1-policy-dns]dns transparent-proxy enable 
[USG6000V1-policy-dns]dns server bind interface GigabitEthernet 1/02 preferred 2
00.1.1.1
[USG6000V1-policy-dns]dns server bind interface GigabitEthernet 1/0/1 preferred 
100.1.1.1
[USG6000V1-policy-dns]
Feb 19 2025 08:53:07 USG6000V1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 14, the 
change loop count is 0, and the maximum number of records is 4095.

透明代理策略

[USG6000V1-policy-dns]rule name  dns_policy
[USG6000V1-policy-dns-rule-dns_policy]sou	
[USG6000V1-policy-dns-rule-dns_policy]source-address
Feb 19 2025 08:56:37 USG6000V1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 16, the 
change loop count is 0, and the maximum number of records is 4095.
[USG6000V1-policy-dns-rule-dns_policy]source-address 192.168.1.0 24
[USG6000V1-policy-dns-rule-dns_policy]en	
[USG6000V1-policy-dns-rule-dns_policy]enable 
Info: The policy is enabled successfully. 
[USG6000V1-policy-dns-rule-dns_policy]ac	
[USG6000V1-policy-dns-rule-dns_policy]action tp	
[USG6000V1-policy-dns-rule-dns_policy]action tpdns 
[USG6000V1-policy-dns-rule-dns_policy]
Feb 19 2025 08:56:57 USG6000V1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 19, the 
change loop count is 0, and the maximum number of records is 4095.
[USG6000V1-policy-dns-rule-dns_policy]