Xen OpenVPN TUN/TAP Error

receiving following messages starting OpenVPN in Xen:

host:/etc/openvpn# openvpn server.conf
Tue May 22 16:08:03 2007 OpenVPN 2.0.9 x86_64-pc-linux-gnu SSL LZO EPOLL built on Jan 21 2007
Tue May 22 16:08:03 2007 Diffie-Hellman initialized with 1024 bit key
Tue May 22 16:08:03 2007 TLS-Auth MTU parms L:1542 D:138 EF:38 EB:0 ET:0 EL:0
Tue May 22 16:08:03 2007 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Tue May 22 16:08:03 2007 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Tue May 22 16:08:03 2007 Cannot allocate TUN/TAP dev dynamically
Tue May 22 16:08:03 2007 Exiting

 

ANSWER:

Meaning tun/tap device is not enabled on OpenVZ VPS by default,  client can enable tun/tap and PPP directly from inside VPS Manager under "settings" tab.  Xen VPS should already have this enabled by default oterwise run command : #modprobe tun

  • 5 משתמשים שמצאו מאמר זה מועיל
?האם התשובה שקיבלתם הייתה מועילה

מאמרים קשורים

Connecting to your VPS via VNC

This knowledge base article will explain how you can connect to your VNC enabled Linux VPS....

How to set reverse DNS (rDNS)

At the moment you need to open a Helpdesk ticket and provide your IP and PTR record you want set,...

My SSH shows "-bash-*". How to change?

When a Xen VPS is delivered and you login for the first time you might see something similar to...

Installing OpenVPN on OpenVZ VPS (CentOS)

You must enable tun/tap and or PPP directly from inside VPS Manager under "settings" tab. then...

How to add website via webmin

This is a great tutorial how you can add new domain/website using webmin....