Использование OpenDNS для управления трафиком в моей VPN (WindowsServer 2019)
Я настроил VPN-сервер на Windows Server 2019 с использованием RRAS, сервер работает в Azure.
На этом сервере я настроил OpenDNS на соединение Ethernet (единственное доступное соединение на этом сервере).
Это IPCONFIG-all для VPN-сервера.
===========================================
C:\Users\SCC_ADMIN>ipconfig -all
Windows IP Configuration
Host Name . . . . . . . . . . . . : CloudConnector
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : p3n3zyqwstqefmz33jdavemcwa.ax.internal.cloudapp.net
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . : p3n3zyqwstqefmz33jdavemcwa.ax.internal.cloudapp.net
Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter
Physical Address. . . . . . . . . : 00-0D-3A-47-E9-E4
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::2115:bffe:b66d:660a%10(Preferred)
IPv4 Address. . . . . . . . . . . : 10.0.4.4(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Tuesday, January 26, 2021 3:45:47 PM
Lease Expires . . . . . . . . . . : Saturday, March 5, 2157 8:08:23 PM
Default Gateway . . . . . . . . . : 10.0.4.1
DHCP Server . . . . . . . . . . . : 168.63.129.16
DHCPv6 IAID . . . . . . . . . . . : 100666682
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-27-74-76-EC-00-0D-3A-47-E9-E4
DNS Servers . . . . . . . . . . . : 208.67.222.222
208.67.220.220
NetBIOS over Tcpip. . . . . . . . : Enabled
PPP adapter RAS (Dial In) Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : RAS (Dial In) Interface
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 100.100.0.0(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . :
NetBIOS over Tcpip. . . . . . . . : Enabled
========================================
Если я открою на сервере, я получу уведомление о том, что используется OpenODS.
Внешний IP-адрес для этого сервера — 20.71.206.175.
Я могу успешно подключиться к VPN из моего клиента. Когда я это делаю, я вижу, что мой внешний IP-адрес — 20.71.206.175. Это IPCONFIG -ALL для моего клиента при подключении к VPN
===============================
C:\Users\danie>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : SURFACE-DANIEL
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Ethernet 8:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Surface Ethernet Adapter
Physical Address. . . . . . . . . : 28-16-A8-08-AB-B7
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::381c:5172:807a:b8cc%11(Preferred)
IPv4 Address. . . . . . . . . . . : 10.0.0.24(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : woensdag 27 januari 2021 10:03:33
Lease Expires . . . . . . . . . . : donderdag 28 januari 2021 12:18:14
Default Gateway . . . . . . . . . : 10.0.0.1
DHCP Server . . . . . . . . . . . : 10.0.0.1
DHCPv6 IAID . . . . . . . . . . . : 791156392
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-25-24-E5-9D-B8-31-B5-8B-64-E9
DNS Servers . . . . . . . . . . . : 10.0.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
PPP adapter Plainwater VPN:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Plainwater VPN
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 100.100.0.2(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 0.0.0.0
DNS Servers . . . . . . . . . . . : 208.67.222.222
208.67.220.220
NetBIOS over Tcpip. . . . . . . . : Enabled
===============================
Однако, когда я захожу на https://welcome.opendns.com/https://welcome.opendns.com/ , он показывает, что OpenDNS не используется.
Я перезапустил все серверы и службы. Я также вручную сбросил свой DNS, но проблема осталась.
Я ожидаю чего-то, что не может работать?
Надеюсь, вы можете помочь,
Даниэль