OpenVZ Forum


Home » General » Support » Problem with VPN
Problem with VPN [message #49492] Tue, 07 May 2013 15:27 Go to next message
CrisKolkman is currently offline  CrisKolkman
Messages: 1
Registered: May 2013
Junior Member
Hello all,

I hope you can help me.
I'm trying to install a VPN server on my CentOS (i386) server.
Everything worked but now I'm getting 2 or 3 error messages.
See below:

[root@*** /]# openvpn /etc/openvpn/server.conf
Tue May 7 17:20:11 2013 OpenVPN 2.2.2 i686-redhat-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] built on Apr 5 2012
Tue May 7 17:20:11 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue May 7 17:20:11 2013 PLUGIN_INIT: POST /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so '[/usr/share/openvpn/plugin/lib/openvpn-auth-pam.so] [/etc/pam.d/login]' intercepted=PLUGIN_AUTH_USER_PASS_VERIFY
Tue May 7 17:20:11 2013 Diffie-Hellman initialized with 1024 bit key
Tue May 7 17:20:11 2013 WARNING: POTENTIALLY DANGEROUS OPTION --client-cert-not-required may accept clients which do not present a certificate
Tue May 7 17:20:11 2013 TLS-Auth MTU parms [ L:1574 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue May 7 17:20:11 2013 Socket Buffers: R=[137216->131072] S=[137216->131072]
Tue May 7 17:20:11 2013 ROUTE: default_gateway=UNDEF
Tue May 7 17:20:11 2013 Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)
Tue May 7 17:20:11 2013 /sbin/ip link set dev up mtu 1500
Usage: ip link set DEVICE { up | down |
arp { on | off } |
dynamic { on | off } |
multicast { on | off } |
allmulticast { on | off } |
promisc { on | off } |
trailers { on | off } |
txqueuelen PACKETS |
name NEWNAME |
address LLADDR | broadcast LLADDR |
mtu MTU }
ip link show [ DEVICE ]
Tue May 7 17:20:11 2013 Linux ip link set failed: external program exited with error status: 255
Tue May 7 17:20:11 2013 Exiting
[root@*** /]#


My ISP can't help because I don't have a support plan Mad
Re: Problem with VPN [message #49495 is a reply to message #49492] Tue, 07 May 2013 17:26 Go to previous message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
your ct provider have to grant access to tun/tap device

more ypu can read in the wiki: http://wiki.openvz.org/VPN#Granting_container_an_access_to_T UN.2FTAP
Previous Topic: FreeDOS installation using openvz
Next Topic: centos 6.4 and vswap problem
Goto Forum:
  


Current Time: Fri Nov 08 18:30:39 GMT 2024

Total time taken to generate the page: 0.03315 seconds