Cannot open TUN/TAP dev /dev/net/tun: Permission denied (err
Posted: Sat Dec 13, 2008 7:59 am
I'm having a problem when connecting via VPN to my home network. This is the output I get:
I was trying to log in with a normal user, the server is behind two routers (who were both configured to forward ports). The server is of course Fedora 9 with Amahi HDA, client is Ubuntu 8.04.1. Help?Sat Dec 13 15:53:24 2008 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Sat Dec 13 15:53:24 2008 /usr/bin/openssl-vulnkey -q -b 1024 -m <modulus omitted>
Sat Dec 13 15:53:24 2008 LZO compression initialized
Sat Dec 13 15:53:24 2008 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Sat Dec 13 15:53:25 2008 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Sat Dec 13 15:53:25 2008 Local Options hash (VER=V4): '41690919'
Sat Dec 13 15:53:25 2008 Expected Remote Options hash (VER=V4): '530fdded'
Sat Dec 13 15:53:25 2008 Socket Buffers: R=[111616->131072] S=[111616->131072]
Sat Dec 13 15:53:25 2008 UDPv4 link local: [undef]
Sat Dec 13 15:53:25 2008 UDPv4 link remote: xxx.xxx.xxx.xx:1194
Sat Dec 13 15:53:25 2008 TLS: Initial packet from xxx.xxx.xxx.xx:1194, sid=045892f5 f7b8b4ba
Sat Dec 13 15:53:25 2008 VERIFY OK: depth=1, /C=US/ST=CA/L=SanJose/O=HomeHDA/OU=VPN/CN=yourhda.com/emailAddress=info@homehda.com
Sat Dec 13 15:53:25 2008 VERIFY OK: depth=0, /C=US/ST=CA/L=SanJose/O=HomeHDA/OU=VPN/CN=server/emailAddress=info@homehda.com
Sat Dec 13 15:53:26 2008 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sat Dec 13 15:53:26 2008 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Dec 13 15:53:26 2008 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sat Dec 13 15:53:26 2008 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat Dec 13 15:53:26 2008 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Sat Dec 13 15:53:26 2008 [server] Peer Connection Initiated with xxx.xxx.xxx.xx:1194
Sat Dec 13 15:53:27 2008 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Sat Dec 13 15:53:27 2008 PUSH: Received control message: 'PUSH_REPLY,route 192.168.1.0 255.255.255.0,dhcp-option DNS 192.168.1.10,dhcp-option DOMAIN example.com,route 10.8.0.1,topology net30,ping 10,ping-restart 220,ifconfig 10.8.0.6 10.8.0.5'
Sat Dec 13 15:53:27 2008 OPTIONS IMPORT: timers and/or timeouts modified
Sat Dec 13 15:53:27 2008 OPTIONS IMPORT: --ifconfig/up options modified
Sat Dec 13 15:53:27 2008 OPTIONS IMPORT: route options modified
Sat Dec 13 15:53:27 2008 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Sat Dec 13 15:53:27 2008 Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)
Sat Dec 13 15:53:27 2008 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Sat Dec 13 15:53:27 2008 Cannot allocate TUN/TAP dev dynamically
Sat Dec 13 15:53:27 2008 Exiting