I have a following scenario (see also 1):
- OpenVPN access server on DigitalCloud to make secure connection between configuration PC and IOT-gateway
- IOT-gateway PC Ubuntu 20.04 connected to the VPN server as a client via ethernet interface eth0. IOT-device network is connected to the another ethernet interface eth1
- IOT devices are connected to the IOT-gateway via layer 2 switch. No router on network all devices have static IP's.
- Client configuration PC connected to the VPN server as a client (Windows)
Question: I want achieve a connection from configuration PC to the IOT-devices on network 192.168.50.0 via OpenVPN access server. What configuration is needed on OpenVPN server and IOT-gateway?
I have successfully SSH-connected from configuration PC to the IOT-gateway via VPN.
Edit: Improved network diagram based on comments, removed OpenVPN server configuration