我已经使用内置的 Windows 7 实用程序创建了 Windows VPN。
VPN 连接正常。我可以看到我已连接到 VPN 的两端。
但是,当我转到 时Start>Run>\\192.168.13.201\P
,我看不到任何文件。故障排除错误返回“远程设备或资源不接受连接”。
我已取消选中“ Use gateway on remote side
”设置。
我已将 1723 端口转发到我的客户端电脑。
我有另一个可以正常连接的 Windows 7 客户端。
我不在乎 WINS。我正在尝试连接到直接 IP。
192.168.13.201
是服务器,192.168.13.202
是客户端
我比较了正常运行的客户端和出现故障的客户端之间的所有设置,但我仍然不明白为什么这不起作用。
一些额外的故障排除信息:
C:\Users\Pat>ipconfig
Windows IP Configuration
PPP adapter VPN HQ:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 192.168.13.202
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : home.int
Link-local IPv6 Address . . . . . : <removed>
IPv4 Address. . . . . . . . . . . : 192.168.0.13
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
Ping 似乎没问题:
C:\Users\Pat>ping 192.168.13.201
Pinging 192.168.13.201 with 32 bytes of data:
Reply from 192.168.13.201: bytes=32 time=22ms TTL=128
Reply from 192.168.13.201: bytes=32 time=20ms TTL=128
Reply from 192.168.13.201: bytes=32 time=23ms TTL=128
Reply from 192.168.13.201: bytes=32 time=25ms TTL=128
Ping statistics for 192.168.13.201:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 20ms, Maximum = 25ms, Average = 22ms
C:\Users\Pat>ping 192.168.13.202
Pinging 192.168.13.202 with 32 bytes of data:
Reply from 192.168.13.202: bytes=32 time<1ms TTL=128
Reply from 192.168.13.202: bytes=32 time<1ms TTL=128
Reply from 192.168.13.202: bytes=32 time<1ms TTL=128
Reply from 192.168.13.202: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.13.202:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
VPN连接后的路由表:
C:\Users\Pat>route print
===========================================================================
Interface List
25...........................VPN HQ
10...d8 50 e6 4e ed 21 ......Intel(R) Ethernet Connection I217-V
15...08 00 27 00 24 08 ......VirtualBox Host-Only Ethernet Adapter
1...........................Software Loopback Interface 1
11...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
12...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
16...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.13 20
71.235.246.15 255.255.255.255 192.168.0.1 192.168.0.13 21
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.0.0 255.255.255.0 On-link 192.168.0.13 276
192.168.0.13 255.255.255.255 On-link 192.168.0.13 276
192.168.0.255 255.255.255.255 On-link 192.168.0.13 276
192.168.13.0 255.255.255.0 192.168.13.201 192.168.13.202 21
192.168.13.202 255.255.255.255 On-link 192.168.13.202 276
192.168.56.0 255.255.255.0 On-link 192.168.56.1 276
192.168.56.1 255.255.255.255 On-link 192.168.56.1 276
192.168.56.255 255.255.255.255 On-link 192.168.56.1 276
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.56.1 276
224.0.0.0 240.0.0.0 On-link 192.168.0.13 276
224.0.0.0 240.0.0.0 On-link 192.168.13.202 276
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.56.1 276
255.255.255.255 255.255.255.255 On-link 192.168.0.13 276
255.255.255.255 255.255.255.255 On-link 192.168.13.202 276
===========================================================================
Persistent Routes:
None
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
15 276 fe80::/64 On-link
10 276 fe80::/64 On-link
15 276 fe80::248a:9aa4:1ba5:b8b9/128
On-link
10 276 fe80::6d58:c0b:2b2a:f6a0/128
On-link
1 306 ff00::/8 On-link
15 276 ff00::/8 On-link
10 276 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
C:\Users\Pat>
答案1
经过多次故障排除后,我发现我将这台新电脑的名字与旧电脑的名字完全相同。
有点奇怪,但我很高兴找到了它。Windows 事件查看器向我提供了线索:
The server could not bind to the transport \Device\NetBT_Tcpip_{guid} because another computer on the network has the same name. The server could not start.
重命名电脑并重新启动一切帮助解决了这个问题。
感谢大家在评论中的帮助。