OpenVZ Forum


Home » General » Support » *SOLVED* setup openvpn
*SOLVED* setup openvpn [message #14012] Sun, 10 June 2007 22:10 Go to next message
tangbeili is currently offline  tangbeili
Messages: 2
Registered: June 2007
Junior Member
My problem is with /dev/net/tun.
I'm using the notes on the forum which are located at http://forum.openvz.org/index.php?t=msg&goto=10389&

According to the notes on the forum I need to setup /dev/net/tun using 3 commands.

# mkdir -p /dev/net
# mknod /dev/net/tun c 10 200
# chmod 600 /dev/net/tun

On my linux 2.6 system,
mkdir -p /dev/net returns error msg:
mkdir: `/dev/net' exists but is not a directory
mknod /dev/net/tun c 10 200 returns error msg:
mknod: `/dev/net/tun': Not a directory

vzctl did not work also.
I'm wondering how to get past these issues.

[Updated on: Thu, 14 June 2007 18:53] by Moderator

Report message to a moderator

Re: setup openvpn [message #14075 is a reply to message #14012] Thu, 14 June 2007 09:36 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
What do you mean saying "vzctl doesn't work"? Do you run OpenVZ kernel? Which one (`uname -a` output)? If vzctl doesn't work, you can't enter VE and therefore produce these commands (mknod ..., mkdir ...) in VE!

BTW, here is an article about TUN/TAP and VPN inside VE:
http://wiki.openvz.org/VPN_via_the_TUN/TAP_device

HTH,
Vasily
Re: setup openvpn [message #14095 is a reply to message #14075] Thu, 14 June 2007 16:04 Go to previous message
tangbeili is currently offline  tangbeili
Messages: 2
Registered: June 2007
Junior Member
Thank you.
This information helped me to quickly correct my misunderstandings and correct this issue. It is now working! You do a good job. Thanks.
Sincerely,
Barney Toma
Previous Topic: *SOLVED* Limit the VE number of processor usage
Next Topic: *SOLVED* vzdump with no LVM in the system
Goto Forum:
  


Current Time: Sun Jul 14 05:50:21 GMT 2024

Total time taken to generate the page: 0.02246 seconds