当我让 mac OSX 远程桌面通过 VPN(通过 openVPN)连接到远程桌面服务器(windows)时出现此错误
mac OSX(local) -> openVPN(on rent VPS service) -> Windows10
错误如下
An error occurred while communicating with the Remote Desktop Gateway. If this keeps happening, contact your network administrator for assistance.
Error code: 0x3000008
我可以通过此 VPN 使用互联网,没有任何问题。
我到处搜索,猜测这可能与 DNS 有关。
https://discussions.apple.com/thread/251486815
(我不应该使用谷歌 DNS?但是为什么?)
我的/etc/openvpn/server/server.conf
是下面这样的。
有人有任何提示吗?
local 153.126.111.11
port 1194
proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-crypt tc.key
topology subnet
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1 bypass-dhcp"
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
verb 3
crl-verify crl.pem