The problem of openvpn accessing internal elastic ip

there is an OpenVPN server configured as follows:
1. There is a network card of 192.168.1.0 network segment. The corresponding private ip is 192.168.1.2, and the public network elastic ip is x.x (that is, the service IP of openvpn)
2. There is a network card with a network segment of 192.168.2.0. The corresponding private ip is 192.168.2.2, and the elastic ip of the private network is 10.6.6.6

.

now the client connects to vpn server, successfully

ping 192.168.1.2
ping 192.168.2.2
ping 10.6.6.6

does it mean that the ping is not connected to the private network elastic ip,? does it mean that additional configuration is required to access the elastic ip?

the current openvpn server.conf configuration is as follows:

push "route 192.168.1.0 255.255.255.0"
push "route 192.168.2.0 255.255.255.0"
push "route 10.6.0.0 255.255.0.0"

Please give us some advice. Thank you.

Menu