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.
dev-node "ServerVPN"
mode server
port 1194
proto udp
dev tap
tls-server
tls-auth "C:\\Program Files\\OpenVPN\\config\\ta.key" 0
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
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
client-to-client
keepalive 10 120
cipher AES-128-CBC
comp-lzo
persist-key
persist-tun
client-config-dir "C:\\Program Files\\OpenVPN\\config"
verb 3
route-delay 5
route-method exe
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:
Thanks you.