OpenVPN的客户端无法访问OpenVPN Server的Intranet


0

我在我的Windows服务器上安装了OpenVPN( 43.224.204.19 ),并生成了 server.ovpnclient.ovpn 文件:

这是我的 server.ovpn

local 43.224.204.19

port 1194

proto udp

dev tun

ifconfig-pool-persist ipp.txt

#server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100

server 10.0.0.0 255.255.255.0

client-to-client

keepalive 10 120


comp-lzo
persist-key
persist-tun
status openvpn-status.log
log         openvpn.log
verb 3
mute 20

<ca>
....
</ca>

<cert>
....
</cert>

<dh>
....
</dh>

这是我的 client1.ovpn

client

proto udp
port 1194
dev tun

remote 43.224.204.19
resolv-retry infinite
persist-key
persist-tun

comp-lzo
verb 3
mute 20

<ca>
...
</ca>

<cert>
...
</cert>

<key>
....
</key>

在我的Windows Server中我使用OpenVPN GUI连接服务器。

在我的客户端Windows Server( 45.117.40.20 ),我也安装了OpenVPN GUI,复制了 client.ovpn 到OpenVPN配置目录并连接到远程服务器( 43.224.204.19 )。

客户端日志:

...
Sun Sep 02 23:08:03 2018 C:\Windows\system32\route.exe ADD 10.0.0.0 MASK 255.255.255.0 10.0.0.5
Sun Sep 02 23:08:03 2018 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=20 and dwForwardType=4
Sun Sep 02 23:08:03 2018 Route addition via IPAPI succeeded [adaptive]
Sun Sep 02 23:08:03 2018 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun Sep 02 23:08:03 2018 Initialization Sequence Completed
Sun Sep 02 23:08:03 2018 MANAGEMENT: >STATE:1535900883,CONNECTED,SUCCESS,10.0.0.6,43.224.204.19,1194,,

你看它连接成功了。

但是,我有一个问题。

在Windows Server中( 43.224.204.19 )我可以输入IPMI地址进行访问:

enter image description here

但在客户端服务器( 45.117.40.20 )我将IPMI地址输入到我无法访问的浏览器。 ( ERR_CONNECTION_TIMED_OUT )。

您知道客户端已连接到OpenVPN服务器,但为什么客户端无法访问OpenVPN服务器的Intranet?

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.