Thank you so much for the input I will check this one today.

On Tue, Mar 2, 2010 at 11:56 PM, fooler mail <[email protected]> wrote:

> On Mon, Mar 1, 2010 at 3:15 PM, Tata Dano <[email protected]> wrote:
> >
> > Mon Mar  1 00:03:12 2010 Note: Cannot open TUN/TAP dev /dev/net/tun:
> > Permission denied (errno=13)
>
> hi,
>
> i downloaded openvpn version 2.1.1 today and check your error
> above.... error above can be found at openvpndir/tun.c line 1106... it
> attempts to open /dev/net/tun in read/write access mode (O_RDWR)..
> according to /usr/include/asm/errno.h, error number 13 is EACCES...
> looking at "man 2 open", it says:
>
>       EACCES The  requested access to the file is not allowed, or one of
> the
>              directories in pathname did not allow search (execute)
>  permis-
>              sion,  or  the  file  did not exist yet and write access to
> the
>              parent directory is not allowed.
>
> things to do on your side...
>
> 1. make sure /dev/net/tun file is existing.. if not instruction can be
> found inside INSTALL file as root account...
>
> TUN/TAP Driver Configuration:
>
> * Linux 2.4 or higher (with integrated TUN/TAP driver):
>
>  (1)  make device node:         mknod /dev/net/tun c 10 200
>  (2a) add to /etc/modules.conf: alias char-major-10-200 tun
>  (2b) load driver:              modprobe tun
>  (3)  enable routing:           echo 1 > /proc/sys/net/ipv4/ip_forward
>
>  Note that either of steps (2a) or (2b) is sufficient.  While (2a)
>  only needs to be done once per install, (2b) needs to be done once
>  per reboot.  If you install from RPM (see above) and use the
>  openvpn.init script, these steps are taken care of for you.
>
> 2. check the path and file permission of /dev/net/tun... a quick check
> by doing the commands as normal user below:
>
> $ cd /dev/net
> $ ls -al tun
> crw-------  1 root root 10, 200 Mar  2 15:51 tun
>
> normally it owns by root.. you need to run openvpn as root and make
> sure that your server configuration file change its daemon's privilege
> to user nobody and group nobody for security reason..
>
> > One more inquiry, is it possible to connect openvpn on windows machine
> without any
> > additional installation of openvpn client? If so, then how can this be
> done?
>
> nope...it cant be done... microsoft's built-in vpn clients are pptp
> and l2tp/ipsec only as openvpn is a ssl vpn which is not compatible to
> those two...
>
> fooler.
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>



-- 
Tata Dano
Linux Registered User #383849
http://zimaso.sourceforge.net/
http://immactamb.proboards86.com/
http://hccitforums.proboards62.com/
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to