
在安裝 VirtualBox 或 VMware Workstation 之前,我的 VPN 連線 (L2TP/IPSEC PSK) 可以正常運作。我能夠訪問我想要訪問的每個網站。
但是安裝其中一個後我收到此錯誤訊息一些使用 Chrome 的網站(Edge 和 Firefox 也不會加載,但不會給我詳細的錯誤訊息),例如整個 StackExchange Network。
我的 Android 手機就沒有這個問題(當然是連接到同一個 VPN)
我嘗試了透過谷歌找到的所有好東西。
刷新/更新/釋放 dns(和其他瘋狂的命令列命令)->沒有成功
手動設定 DNS 伺服器 ->沒有成功
即使卸載後 ->沒有成功
2 週沒有 Vmware/VirtualBox(完成 Windows 重設後)->成功
我現在的問題是:是否可以在不放棄 VirtualBox 或 Vmware 的情況下恢復功能?有什麼想法,一些魔法咒語嗎?
伺服器 = QNAP-NAS
客戶端 = Windows 10
非常感謝。
更新#1
Twisty Impersonator 要求我在無法存取的網站上執行 nslookup。 Superuser.com 就在其中:
C:\WINDOWS\system32>nslookup -d2 superuser.com
------------
SendRequest(), len 42
HEADER:
opcode = QUERY, id = 1, rcode = NOERROR
header flags: query, want recursion
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
1.0.168.192.in-addr.arpa, type = PTR, class = IN
------------
------------
Got answer (91 bytes):
HEADER:
opcode = QUERY, id = 1, rcode = NXDOMAIN
header flags: response, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 1, additional = 0
QUESTIONS:
1.0.168.192.in-addr.arpa, type = PTR, class = IN
AUTHORITY RECORDS:
-> 168.192.in-addr.arpa
type = SOA, class = IN, dlen = 37
ttl = 1278 (21 mins 18 secs)
primary name server = localhost
responsible mail addr = root
serial = 1
refresh = 604800 (7 days)
retry = 86400 (1 day)
expire = 2419200 (28 days)
default TTL = 604800 (7 days)
------------
Server: UnKnown
Address: 192.168.0.1
------------
SendRequest(), len 31
HEADER:
opcode = QUERY, id = 2, rcode = NOERROR
header flags: query, want recursion
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
superuser.com, type = A, class = IN
------------
DNS request timed out.
timeout was 2 seconds.
timeout (2 secs)
Fehler bei SendRequest.
------------
SendRequest(), len 31
HEADER:
opcode = QUERY, id = 3, rcode = NOERROR
header flags: query, want recursion
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
superuser.com, type = AAAA, class = IN
------------
------------
Got answer (121 bytes):
HEADER:
opcode = QUERY, id = 3, rcode = NOERROR
header flags: response, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 1, additional = 0
QUESTIONS:
superuser.com, type = AAAA, class = IN
AUTHORITY RECORDS:
-> superuser.com
type = SOA, class = IN, dlen = 78
ttl = 265 (4 mins 25 secs)
primary name server = ns-cloud-d1.googledomains.com
responsible mail addr = cloud-dns-hostmaster.google.com
serial = 1
refresh = 21600 (6 hours)
retry = 3600 (1 hour)
expire = 259200 (3 days)
default TTL = 300 (5 mins)
------------
------------
SendRequest(), len 31
HEADER:
opcode = QUERY, id = 4, rcode = NOERROR
header flags: query, want recursion
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
superuser.com, type = A, class = IN
------------
DNS request timed out.
timeout was 2 seconds.
timeout (2 secs)
Fehler bei SendRequest.
------------
SendRequest(), len 31
HEADER:
opcode = QUERY, id = 5, rcode = NOERROR
header flags: query, want recursion
questions = 1, answers = 0, authority records = 0, additional = 0
QUESTIONS:
superuser.com, type = AAAA, class = IN
------------
------------
Got answer (121 bytes):
HEADER:
opcode = QUERY, id = 5, rcode = NOERROR
header flags: response, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 1, additional = 0
QUESTIONS:
superuser.com, type = AAAA, class = IN
AUTHORITY RECORDS:
-> superuser.com
type = SOA, class = IN, dlen = 78
ttl = 263 (4 mins 23 secs)
primary name server = ns-cloud-d1.googledomains.com
responsible mail addr = cloud-dns-hostmaster.google.com
serial = 1
refresh = 21600 (6 hours)
retry = 3600 (1 hour)
expire = 259200 (3 days)
default TTL = 300 (5 mins)
------------
*** Zeitüberschreitung bei Anforderung an UnKnown.
更新2 ipconfig /all 的輸出(客戶端)
Windows-IP-Konfiguration
Hostname . . . . . . . . . . . . : PC-Name
Primäres DNS-Suffix . . . . . . . :
Knotentyp . . . . . . . . . . . . : Hybrid
IP-Routing aktiviert . . . . . . : Nein
WINS-Proxy aktiviert . . . . . . : Nein
Ethernet-Adapter Ethernet:
Medienstatus. . . . . . . . . . . : Medium getrennt
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : Intel(R) Ethernet Connection I219-V
Physische Adresse . . . . . . . . : 1C-39-47-98-0E-7D
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja
Ethernet-Adapter DockingStation:
Medienstatus. . . . . . . . . . . : Medium getrennt
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : Realtek USB GbE Family Controller
Physische Adresse . . . . . . . . : 00-E0-4C-12-34-72
DHCP aktiviert. . . . . . . . . . : Nein
Autokonfiguration aktiviert . . . : Ja
Drahtlos-LAN-Adapter WLAN:
Medienstatus. . . . . . . . . . . : Medium getrennt
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 7265
Physische Adresse . . . . . . . . : 10-02-B5-A1-01-30
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja
Drahtlos-LAN-Adapter LAN-Verbindung* 1:
Medienstatus. . . . . . . . . . . : Medium getrennt
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physische Adresse . . . . . . . . : 10-02-B5-A1-01-31
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja
Ethernet-Adapter VMware Network Adapter VMnet1:
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1
Physische Adresse . . . . . . . . : 00-50-56-C0-00-01
DHCP aktiviert. . . . . . . . . . : Nein
Autokonfiguration aktiviert . . . : Ja
Verbindungslokale IPv6-Adresse . : fe80::7451:972d:1387:c71b%3(Bevorzugt)
IPv4-Adresse . . . . . . . . . . : 192.168.150.1(Bevorzugt)
Subnetzmaske . . . . . . . . . . : 255.255.255.0
Standardgateway . . . . . . . . . :
DHCPv6-IAID . . . . . . . . . . . : 100683862
DHCPv6-Client-DUID. . . . . . . . : 00-01-00-01-21-D1-6A-BB-1C-39-47-98-0E-7D
DNS-Server . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS über TCP/IP . . . . . . . : Deaktiviert
Ethernet-Adapter VMware Network Adapter VMnet8:
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
Physische Adresse . . . . . . . . : 00-50-56-C0-00-08
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja
Verbindungslokale IPv6-Adresse . : fe80::e41e:4322:d30b:524c%7(Bevorzugt)
IPv4-Adresse . . . . . . . . . . : 192.168.220.1(Bevorzugt)
Subnetzmaske . . . . . . . . . . : 255.255.255.0
Lease erhalten. . . . . . . . . . : Samstag, 6. Januar 2018 08:17:58
Lease läuft ab. . . . . . . . . . : Samstag, 6. Januar 2018 17:02:57
Standardgateway . . . . . . . . . :
DHCP-Server . . . . . . . . . . . : 192.168.220.254
DHCPv6-IAID . . . . . . . . . . . : 738218070
DHCPv6-Client-DUID. . . . . . . . : 00-01-00-01-21-D1-6A-BB-1C-39-47-98-0E-7D
DNS-Server . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS über TCP/IP . . . . . . . : Deaktiviert
PPP-Adapter MyVPN:
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : MyVPN
Physische Adresse . . . . . . . . :
DHCP aktiviert. . . . . . . . . . : Nein
Autokonfiguration aktiviert . . . : Ja
IPv4-Adresse . . . . . . . . . . : 10.2.0.2(Bevorzugt)
Subnetzmaske . . . . . . . . . . : 255.255.255.255
Standardgateway . . . . . . . . . : 0.0.0.0
DNS-Server . . . . . . . . . . . : 192.168.0.1
NetBIOS über TCP/IP . . . . . . . : Deaktiviert
Mobiler Breitbandadapter Mobilfunk:
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : HUAWEI Mobile Broadband Module
Physische Adresse . . . . . . . . : 8C-9A-88-55-59-53
DHCP aktiviert. . . . . . . . . . : Nein
Autokonfiguration aktiviert . . . : Ja
Verbindungslokale IPv6-Adresse . : fe80::b91d:5c86:6ce7:c88e%15(Bevorzugt)
IPv4-Adresse . . . . . . . . . . : 10.78.75.185(Bevorzugt)
Subnetzmaske . . . . . . . . . . : 255.0.0.0
Standardgateway . . . . . . . . . : 10.78.75.186
DNS-Server . . . . . . . . . . . : 62.109.121.17
62.109.121.18
NetBIOS über TCP/IP . . . . . . . : Aktiviert
Tunneladapter LAN-Verbindung* 12:
Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : Microsoft Teredo Tunneling Adapter
Physische Adresse . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP aktiviert. . . . . . . . . . : Nein
Autokonfiguration aktiviert . . . : Ja
IPv6-Adresse. . . . . . . . . . . : 2001:0:9d38:78cf:28bb:225b:f5fd:fffd(Bevorzugt)
Verbindungslokale IPv6-Adresse . : fe80::28bb:225b:f5fd:fffd%18(Bevorzugt)
Standardgateway . . . . . . . . . : ::
DHCPv6-IAID . . . . . . . . . . . : 301989888
DHCPv6-Client-DUID. . . . . . . . : 00-01-00-01-21-D1-6A-BB-1C-39-47-98-0E-7D
NetBIOS über TCP/IP . . . . . . . : Deaktiviert
VMnet1 是內部網路(無需實體網路即可透過 SSH 連線)
VMnet8 是 VMware 橋
透過 VPN 透過 IP (192.168.0.xx) 連接到本地網路設備正常運作。
正如我之前提到的,萬維網的另一半是可以訪問的。
答案1
您的 VPN 連線配置為 DNS 伺服器 192.168.0.1。正如您的 nslookup 查詢嘗試所示,該 DNS 伺服器是您的電腦首先查詢的。顯然,當您的 VPN 連線處於活動狀態時,您的電腦沒有到此 DNS 伺服器的工作路由。這需要解決。
根據您的評論:
我放棄L2TP/IPSEC。切換到 OpenVPN。沒有與 DNS 相關的問題。我能夠瀏覽(完整)網路並在家中使用本地設備。
您的 VPN 連線似乎出現問題,導致您無法存取此 DNS 伺服器。