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
OpenVPN Server will not Start
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Mar 15, 2011 10:42 pm
OpenVPN Server will not Start
Last edited by benblur4 on Tue Mar 15, 2011 11:25 pm, edited 1 time in total.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Mar 15, 2011 10:42 pm
Re: OpenVPN Server will not Start
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"
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: OpenVPN Server will not Start
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.
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.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"