I'm trying to run both TAP and TUN daemons on my OpenWRT to connect my laptop on a TAP server and my IOS device on a TUN server. I've created 2 conf files (one for each daemon: Openvpn.conf [TAP server] and Openvpn-TUN.conf [TUN server]) in /etc/config, but when I start Openvpn it only starts the openvpn.conf, so there is only my TAP server that is running.
Then, I suppose that I have to edit the /etc/init.d/openvpn file to force it to run the 2 daemons, but i've no idea what I have to change. Can someone help me figure this out?
My /etc/init.d/openvpn file : textuploader. com/dduti