OpenVZ Forum


Home » General » Support » Access to ifconfig denied from container (OpenVPN internet routing)
Re: Access to ifconfig denied from container (OpenVPN internet routing) [message #37125 is a reply to message #37123] Wed, 19 August 2009 14:45 Go to previous messageGo to previous message
imagenesis is currently offline  imagenesis
Messages: 6
Registered: August 2009
Junior Member

I think this problems is stemming from the fact that openvpn didn't properly create tun0 in the first place.

Executing:

openvpn --mktun tun --dev tun0
Wed Aug 19 18:40:27 2009 TUN/TAP device tun0 opened
Wed Aug 19 18:40:27 2009 Cannot ioctl TUNSETPERSIST(1) tun0: Operation not permitted (errno=1)
Wed Aug 19 18:40:27 2009 Exiting


How do I grant access to the container to execute:

ioctl TUNSETPERSIST(1) tun0

[Updated on: Wed, 19 August 2009 14:47]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Network setup how to do it.
Next Topic: ejabberd in container
Goto Forum:
  


Current Time: Tue Sep 16 08:45:13 GMT 2025

Total time taken to generate the page: 1.09087 seconds