Tunnelblick could not find a 'tun' or 'tap option in the OpenVPN configuration file

15,420 views
Skip to first unread message

ceds...@gmail.com

unread,
Jan 18, 2016, 6:09:41 PM1/18/16
to tunnelblick-discuss
everything is in the title :-)

i run the latest version of tunnelblick on mac os El capitan.

when i try to establish the vpn, i get this message "Tunnelblick could not find a 'tun' or 'tap option in the OpenVPN configuration file"


i use the same conf file on iphone and ipad (openvpn client)

how to set up propperly a tun option for tunnelblick

thanks
Cedric

jkbull...gmail.com

unread,
Jan 18, 2016, 6:13:52 PM1/18/16
to tunnelblick-discuss
It's probably a TUN connection; that's the only kind allowed on iPhone/iPad.

So add a line consisting of "dev tun" anywhere in the OpenVPN configuration file.

Cédric S

unread,
Jan 19, 2016, 9:40:19 AM1/19/16
to tunnelblick-discuss
yes it's a tun connection.

openvpn is installed on a VPS



here is my conf file

client

remote x.x.x.x 1194
proto udp
dev tun

float
resolv-retry infinite
nobind
persist-key
persist-tun
mute-replay-warnings
ca root.crt
cert C1.crt
key C1.key
ns-cert-type server
tls-auth secret.key 1
verify-x509-name Moi name
keepalive 10 60
explicit-exit-notify 2
comp-lzo
verb 2
mute 20
reneg-sec 0
auth-nocache

Cédric S

unread,
Jan 19, 2016, 9:44:05 AM1/19/16
to tunnelblick-discuss
i tried the last stable and the last beta release of tunnelblick
open vpn version is 2.3.10

Cédric S

unread,
Jan 19, 2016, 10:22:22 AM1/19/16
to tunnelblick-discuss
SOLVED



Tunnelblick doesn't like comments in conf file.
i've removed all comments in the conf file and it works

jkbull...gmail.com

unread,
Jan 19, 2016, 10:32:44 AM1/19/16
to tunnelblick-discuss
Comments in configuration files are not usually a problem.

Perhaps the comments included unusual characters which confused Tunnelblick.

Could you edit a copy of the original configuration to remove the remove IP address, then compress that and post the .zip? (The .zip would preserve unusal characters in the comments and I could look into why Tunnelblick failed to deal with it properly.)

Control-click on the file and select "Compress..." to get a .zip of the file.

Thanks.

kkh...@g8.net

unread,
Jan 25, 2018, 6:21:15 AM1/25/18
to tunnelblick-discuss
the "dev tun" command works perfectly fine. Thanx
Reply all
Reply to author
Forward
0 new messages