Openvpn client help

Hi everyone,

First of all a big THANK YOU to all developers for LEDE!

I am trying to get an openvpn client running but can't get it to work, I followed the steps at https://www.lteforum.at/mobilfunk/setup-openvpn-with-openwrt-lede.6831/ and downloaded the ovpn file from my provider.

So far so good, I have a new interface and firewall zone. However, athough the ovpn file contains the dev tun line, I still get the following error: openvpn(vpnac)[5191]: Options error: You must define TUN/TAP device (--dev)

What am I missing?

my ovpn file reads as follows.

client
dev tun
remote-random
remote vpnprovider 1194
dev tun
proto udp
tls-client
persist-tun
persist-key
nobind
pull
redirect-gateway def1
route-delay 3
auth-user-pass credentials.txt
verb 3
explicit-exit-notify 2
remote-cert-tls server
key-direction 1
cipher AES-256-CBC
auth SHA512
persist-remote-ip

-----BEGIN CERTIFICATE-----

please see if in logread you see another thing you have duplicated dev tun line maybe is that...