|
From: Joselito T. <jos...@gm...> - 2011-06-03 00:35:01
|
Hi, When I run as root the command modinfo tun the display is this. * filename: /lib/modules/2.6.18-194.32.1.el5/kernel/drivers/net/tun.ko alias: char-major-10-200 license: GPL author: (C) 1999-2004 Max Krasnyansky <ma...@qu...> description: Universal TUN/TAP device driver srcversion: 23EC8E176639DE5F2DA2D21 depends: vermagic: 2.6.18-194.32.1.el5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1 module_sig: 883f3504d24ffbb59f555817d939ea9112a82c09f6a8588888271f5528944640a3f7bdd769eaaa760a08a76254af60772266157edea59dfbde7f294c70 * When I run as root the modprobe tun. There is no error display but also there is no output. It goes directly to the prompt. Respectfully Yours, Joselito E. Tapangan Network Administrator Booom!! Interactive, Inc. 2F Tulips Center Bldg. A.S. Fortuna St. Mandaue City, Cebu Philippines, 6014. http://joselitotapangan.info http://jetzumy2k.wordpress.com http://jetzumy2k.byethost18.com http://onlinereference.wordpress.com On Fri, Jun 3, 2011 at 4:42 AM, Jan Just Keijser <ja...@ni...> wrote: > do (as root) > modinfo tun > modprobe tun > > if the second command returns an error , then there's something wrong with > your CentOS installation ; after the 'modprobe' do an > lsmod | grep tun > to see if the device is actually listed. > > HTH, > > JJK > > > > > Joselito Tapangan wrote: > >> Here is the content of my Config File; >> >> /port 1194 >> proto udp >> dev tun0 >> >> ca /etc/openvpn/keys/ca.crt >> cert /etc/openvpn/keys/server.crt >> key /etc/openvpn/keys/server.key >> dh /etc/openvpn/keys/dh1024.pem >> >> server 10.10.0.0 255.255.255.0 >> client-config-dir ccd >> push "dhcp-option DNS " >> push "dhcp-option DNS " >> push "dhcp-option DISABLE-NBT" >> push "dhcp-option DOMAIN " >> push "route 192.168.0.0 255.255.255.0" >> push "redirect-gateway def1" >> keepalive 10 120 >> comp-lzo >> persist-key >> persist-tun >> status /var/log/openvpn/server-tcp.log >> ifconfig-pool-persist /var/log/openvpn/ipp.txt >> log-append /var/log/openvpn/openvpn.log >> verb 4 >> client-to-client >> duplicate-cn >> >> user nobody >> group nobody/ >> >> >> I already did change the dev tun0 to dev tun in the config file but I >> still It has an error. The only thing not identical to the HOWTOforge.com is >> the Version of CentOS and the Version of OpenVPN cause I am using the >> latest. I am also running this natively. The only thing I am confused is >> that how to see if the tun module is running. Anyone could tell how to check >> it? >> >> explicitly in the config file? try using >> dev tun >> >> Is your server configuration identical to the one in the HOWTOforge.com ? >> Is the 'tun' module loaded before OpenVPN is started ? >> Are you running natively or are you running on e.g. OpenVZ / VPS ? >> >> > |