[<<][pool][>>][..]
Thu Apr 19 08:15:10 EDT 2012

OpenVPN broken after move

/dev/tap0 not accessible from withing vserver.

Thu Apr 19 12:11:52 2012 OpenVPN 2.1.3 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Oct 21 2010
Thu Apr 19 12:11:52 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Apr 19 12:11:52 2012 Diffie-Hellman initialized with 1024 bit key
Thu Apr 19 12:11:52 2012 /usr/bin/openssl-vulnkey -q -b 1024 -m <modulus omitted>
Thu Apr 19 12:11:52 2012 TLS-Auth MTU parms [ L:1590 D:138 EF:38 EB:0 ET:0 EL:0 ]
Thu Apr 19 12:11:52 2012 Socket Buffers: R=[112640->131072] S=[112640->131072]
Thu Apr 19 12:11:52 2012 Note: Cannot ioctl TUNSETIFF tap0: Operation not permitted (errno=1)
Thu Apr 19 12:11:52 2012 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Thu Apr 19 12:11:52 2012 Cannot open TUN/TAP dev /dev/tap0: No such file or directory (errno=2)
Thu Apr 19 12:11:52 2012 Exiting

This worked: create the tap devices on the host, then restart the vserver.

 tunctl -b -t tap0
 tunctl -b -t tap1


[Reply][About]
[<<][pool][>>][..]