Hello, I am setting up a VPN communication between a PC (OpenVpn Software) and a RUT240 router and I have doubts in the fields to fill in. The router has a SIM with a fixed IP (AA.AA.AA.AA), and a PLC (192.168.1.5) is connected to the LAN port (192.168.1.1) that I want to access from the PC. The server file has this code, i think the last two lines are not correct.
tls-auth "C:\\Program Files\\OpenVPN\\config\\ta.key" 0
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.key"
dh "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh2048.pem"
server 10.8.0.0 255.255.255.0
keepalive 10 120
client-config-dir "C:\\Program Files\\OpenVPN\\config"
push "route 192.168.1.1 255.255.255.0"
route 192.168.1.0 255.255.255.0
When starting the software on the PC, the icon will appear in green:
And the configuration in the router is the following, in the field highlighted in yellow I don't know what to put:
The result is: