OpenWrt Forum Archive

Topic: OpenVPN TAP and TUN servers

The content of this topic has been archived on 14 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi everyone,

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

Thank you!

This is in the wrong forum.

Remove the dash from the file name. Openvpn had trouble autoloading .conf files with spaces or special characters.

Also, .conf files should be placed in /etc/openvpn/

(Last edited by ExaltedVanguard on 1 Jan 2017, 18:22)

The discussion might have continued from here.