wczimmerman
I have been using openvpn for a long time under the previous versions of Ubuntu, all 32 bit. Well, my hard drive started to show signs of failure, so I took the opportunity to reload the machine on the replacement disk and load the latest 11.10 Ubuntu but as 64 bit this time. When I restored my openvpn client configs and attempt to start the tunnel, I get the following:
# sudo openvpn --client ./client.ovpn
Options error: You must define TUN/TAP device (--dev)
Use --help for more information.
In my research, I found an indication that the tun driver may have been removed before the 3.0 kernels but I am not certain of that. I am running 3.0.0.17-generic.
Here are the contents of my client.ovpn file:
dev tun
client
proto tcp-client
ca ca.crt
cert client.crt
key client.pem
tls-remote "<snipped>"
remote-cert-eku "<snipped>"
remote <my IP> 443
persist-key
persist-tun
verb 0
mute 20
keepalive 10 60
cipher AES-256-CBC
auth SHA1
float 1
reneg-sec 0
nobind
mute-replay-warnings
auth-user-pass
Can someone give me some direction on what possible modifications I may need to deal with either the 64 bit issue, missing tun driver issue, or updated config so I can get this working again?
Thanks!
maikcat
hi there,
if you type
sudo openvpn --config ./client.ovpn
it throws back the same error?
also,
the command
modinfo tun
does it returns something?
Michael.