|
From: Jan J. K. <ja...@ni...> - 2011-06-02 20:42:57
|
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 ? > |