Problem with OpenVPN in VE [message #28104] |
Sat, 08 March 2008 17:55 |
mperkel
Messages: 253 Registered: December 2006
|
Senior Member |
|
|
I can't seem to get OpenVPN to work under OpenVZ. I get this error in the logs.
Sat Mar 8 09:53:25 2008 us=186253 OpenVPN 2.1_rc4 x86_64-redhat-linux-gnu [SSL] [LZO2] [EPOLL] built on Apr 26 2007
Sat Mar 8 09:53:25 2008 us=188675 Diffie-Hellman initialized with 1024 bit key
Sat Mar 8 09:53:25 2008 us=189009 WARNING: file 'server.key' is group or others accessible
Sat Mar 8 09:53:25 2008 us=189293 TLS-Auth MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Sat Mar 8 09:53:25 2008 us=189560 TUN/TAP device tun0 opened
Sat Mar 8 09:53:25 2008 us=189589 Note: Cannot set tx queue length on tun0: Operation not permitted (errno=1)
Sat Mar 8 09:53:25 2008 us=189615 /sbin/ip link set dev tun0 up mtu 1500
SIOCSIFMTU: No such device
Sat Mar 8 09:53:25 2008 us=193366 Linux ip link set failed: shell command exited with error status: 255
Sat Mar 8 09:53:25 2008 us=193407 Exiting
I know nothing about OpenVPN. This is for someone else's use. hoping for a quick and easy fix.
Junk Email Filter
http://www.junkemailfilter.com
|
|
|
|
|
Re: Problem with OpenVPN in VE [message #28200 is a reply to message #28104] |
Tue, 11 March 2008 15:00 |
|
Quote: | Sat Mar 8 09:53:25 2008 us=189589 Note: Cannot set tx queue length on tun0: Operation not permitted (errno=1)
|
1. Create in VE device /dev/net/tun
# ls -l /dev/net/tun
crw------- 1 root root 10, 200 Feb 20 10:38 /dev/net/tun
2. Add to VE config file:
DEVICES="c:10:200:rw "
3. Restart VE
OS: ASPLinux Server 5, ASPLinux 12
|
|
|
|