This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
rulix
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Jun 05, 2012 6:16 pm
Post
by rulix » Tue Jun 05, 2012 6:23 pm
Hello, I'm new around here and I have recently started using openvpn. Well, if you could say using since I haven't been able to get it to run. I have done the configuration for the keys and the server.conf as I have seen in many guides. But when I try to run it, either with "sudo /etc/init.d/openvpn start" or with "sudo service openvpn start" I always get this msg:
"Starting openvpn: /etc/init.d/openvpn: 163: /etc/init.d/openvpn: failure: not found"
I'm currently running a 32bit Ubuntu 12.04 and openvpn 2.2.1. Thank you in advance

-
Mimiko
- Forum Team
- Posts: 1564
- Joined: Wed Sep 22, 2010 3:18 am
Post
by Mimiko » Tue Jun 12, 2012 7:59 am
Does file /etc/init.d/openvpn really exists? What is the openvpn config file?
-
rulix
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Jun 05, 2012 6:16 pm
Post
by rulix » Thu Jun 14, 2012 2:36 pm
Yes, there is the openvpn file in init.d, also, the server.conf file is basically the sample you can get from the website, configuring it for routed mode. Actually, when running the command "sudo /etc/init.d/openvpn --config /etc/openvpn/server.conf" it starts running. I checked the ifconfig and the tun port appeared. Also while trying to connect to that vpn from another computer running windows 7, they could see each other (while trying to connect from windows I could see the messages on linux's terminal that the vpn was being accessed) but they never manage to pass the handshake. There was this error on the server: "Authenticate/Decrypt packet error: packet HMAC authentication failed" while on the client it only appeared that he couldn't handshake. I had the same keys and certificates in both computer(copied the entire key folder) and tried creating new keys and using them but always got the same error.
-
Mimiko
- Forum Team
- Posts: 1564
- Joined: Wed Sep 22, 2010 3:18 am
Post
by Mimiko » Thu Jun 14, 2012 6:11 pm
Show full log form client and server.