[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenVPN



On Thu, Aug 30, 2012 at 3:44 PM, cletusjenkins <cletusjenkins@zoho.com> wrote:
>  > On Thu, Aug 30, 2012 at 02:06:17AM -0700, cletusjenkins wrote:
>  > > I'm trying to connect to a VPN service via openVPN. When I try to connect (via network manager's gui) I get an error saying the openvpn service is not running. I do not see any errors in messages, syslog, daemon.log or dmesg about this. When I manually start the service it just says that it is starting, but nothing else. However running ps -ef shows no new processes. Stopping the openvpn service makes no difference in the process list either. I've restarted network-manager and even rebooted to ensure everything is loading properly, but to no avail.
>  > >
>  > > To get to my current state i installed:
>  > >
>  > > sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome
>  > >
>  > > I created the VPN connection with the instructions from the VPN service, but since I can't get the OpenVPN software to even run I don't know what help they can provide.
>  >
>  > Try adding the following lines to your server's vpn *.conf file:
>  >
>  > verb 3
>  > log-append /tmp/openvpn.log
>  >
>  > and restart the openvpn service. If the file doesn't appear then you may
>  > have a syntax error in your config. If the file does appear, check it
>  > for errors.
>  >
>
> I don't quite follow what you are advising me. I don't have any vpn *.conf file at least not in /etc/, I'm not running a vpn server, I'm just trying to connect to an existing vpn server outside of my control. When I try to connect to the VPN, it says the connection fails because the openvpn service isn't running. I've tried running a dpkg-reconfigure on openvpn, but it doesn't ask for any configuration options from me, so whatever it sets up must be vanilla default settings. From the error message I thought the openvpn service would need to be running to support my outward connection, but wouldn't need any local configuration (other than the VPN certificate and settings I got from the company I signed up, which I entered into the network-manager's VPN gui).

Whether you are acting as a server or a client you need to have a
config file (.conf) in the /etc/openvpn directory (wich is the default
location where the openvpn service will look for .conf files and will
try to start those connections automatically when the service is
started). Check if there is one. In case there is one, you can open a
console and try to start the connection manually so you could see if
it throws any errors with the following command:

# openvpn /etc/openvpn/<configfile>.conf

If there is no .conf file, you need to set one up. Check for examples
at the openvpn.net site
(http://openvpn.net/index.php/open-source.html).

Cheers!
Fred.


>
> (Oh, and BTW this is all on stable)
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 1421832127.847.1346334557006.JavaMail.sas@172.29.244.248">http://lists.debian.org/[🔎] 1421832127.847.1346334557006.JavaMail.sas@172.29.244.248
>


Reply to: