Blog

OpenVPN issues on a OpenVZ / Virtuozzo enabled VPS

Tags: OpenVPNopenvzTun/TAPVPS

Published on: September 12, 2009 by George K.

OpenVPN issues on a OpenVZ / Virtuozzo enabled VPS

Scenario:

We are into Virtuozzo Management and sometimes we have come across the following OpenVPN issues on a OpenVZ / Virtuozzo enabled VPS. Let us discuss them,

Error Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)

Just follow the KB at http://wiki.openvz.org/VPN_via_the_TUN/TAP_device

Error Note: Cannot set tx queue length on tun0: Operation not permitted (errno=1)

As mentioned in the same KB URL, just do the steps below and things should be alright again

vzctl set 101 --devices c:10:200:rw --save
vzctl set 101 --capability net_admin:on --save

Basically the errors are caused by the non-execution of the two commands mentioned above.

Category : Troubleshooting, VPS

George K.

George K.

George started his career in web hosting and Linux technical support in the year 2004 and is with SupportSages since 2009. He has keen interest in server optimizations, custom security solutions, hacked server recovery, cyber forensic and high availability fail over system design and implementation. George loves long drives and is passionate about art and literature.

You may also read:

Comments

Add new commentSIGN IN

Let's Connect

Get new updates

Categories

$0.000 items