Настраиваем сервер как есть здесь https://help.ubnt.com/hc/en-us/articles/115015971688-EdgeRouter-OpenVPN-Server
На роутер-клиент в папку /config/auth/ копируем - cacert.pem, client1.key, client1.pem, er.ovpn.
Редактируем er.ovpn
client
dev tun
proto udp
remote <ip-adress or host name> 1194...