Page 1 of 1

OpenVPN Server will not Start

Posted: Tue Mar 15, 2011 11:20 pm
by benblur4
I'm new to linux and vpn...so sorry in advance.

I am trying to configure openvpn via webmin. The webmin module is called OpenVPN + CA and I have followed an online tutorial to configure openvpn via webmin.
When I Click "Start" under the Action tab on the VPM List I get this message:
Command Execution Error /etc/init.d/openvpn start hfhvpn.

"hfhvpn" is the name of my vpn server under "VPN Server List." Any ideas what I can do to eliminate this error?

Also, all the log files seem to be empty, so I guess I can't post them.

Thanks,

Ben

Re: OpenVPN Server will not Start

Posted: Tue Mar 15, 2011 11:23 pm
by benblur4
Here is my conf file for the server. I don't think I have one for the client yet. I can't even get the server to launch at this point.

Code: Select all

port 1194
proto udp
dev tun0
ca openvpn/keys/hfhservervpn/ca.crt
cert openvpn/keys/hfhservervpn/hfhserverkey.crt
key openvpn/keys/hfhservervpn/hfhserverkey.key
dh openvpn/keys/hfhservervpn/dh2048.pem
server 10.0.0.1 255.255.255.0
crl-verify keys/hfhservervpn/crl.pem
ifconfig-pool-persist servers/hfhvpn/logs/ipp.txt
tls-auth servers/hfhvpn/ta.key 0
cipher DES-CFB
user nobody
group nogroup
status servers/hfhvpn/logs/openvpn-status.log
log-append servers/hfhvpn/logs/openvpn.log
verb 2
mute 20
max-clients 3
keepalive 10 120
client-config-dir /etc/openvpn/servers/hfhvpn/ccd
tls-server
comp-lzo
persist-key
persist-tun
ccd-exclusive
push "route 192.168.1.254 255.255.255.0"
push "redirect-gateway"


Re: OpenVPN Server will not Start

Posted: Wed Mar 16, 2011 7:28 am
by maikcat
hi there,

try using from cli
service openvpn start
-or-
/etc/init.d/openvpn start

and tell us if it works.

also try to use absolute path names for your keys..

michael.