Oh I just noticed you are using userpass auth method...

so just the ca and the userpass in-line in the file will work.

You would be much better off getting a key and crt from your provider
if they support it than using user pass.

On 25 June 2013 12:49, Joel Wirāmu Pauling <j...@aenertia.net> wrote:
> Put those settings into a file in /etc/openvpn/<nameofservice>.conf
>
> Put your key, crt and ca into that same directory.
>
> run :
>
> $/etc/init.d/openvpn restart
>
> ta da!
>
> Done.
>
> This will automatically start on boot unless you change your startup scripts.
>
>
> On 25 June 2013 12:30, Aubrey Raech <aubreyra...@gmail.com> wrote:
>> Hey all,
>>
>> I'm at my wit's end with openvpn. I've had a VPN service for almost a
>> month now and I haven't been able to use it on Debian sid. I've never
>> used a VPN before, so this is all very new to me.
>>
>> The service works out of the box on my flatmate's Windows computer, and
>> if I use the provided installation script for Ubuntu 12.04, everything
>> is set up and magically works. (I tried it using a LiveCD of Ubuntu
>> 12.04.)
>>
>> Unfortunately, on Debian sid, it simply doesn't work. The optimal way
>> of setting up the VPN service would be to open the network manager in
>> GNOME 3.4, add a new interface (of type "VPN"), input the server and
>> login credentials, and save it. When I click the toggle to switch it
>> On, it says On but does not activate. If I click the name of the VPN
>> interface, it shows the toggle to be OFF. No amount of waiting at
>> this point will activate the service. No error messages are given.
>>
>> I've tried it with the numerous servers provided by the service, and
>> all have the same effect in the GNOME network manager.
>>
>> I found an article on their site written by a user recommending typing
>> "openvpn Location.ovpn" at the command-line as root; the Location.ovpn
>> files are included in a tarball from the service (along with their
>> certificate, which I have properly pointed to in all instances of
>> attempting connection). An example of these files are between the
>> tildes:
>>
>> ~~~~~
>> client
>> dev tun
>> proto udp
>> remote us-west.privateinternetaccess.com 1194
>> resolv-retry infinite
>> nobind
>> persist-key
>> persist-tun
>> ca ca.crt
>> tls-client
>> remote-cert-tls server
>> auth-user-pass
>> comp-lzo
>> verb 1
>> reneg-sec 0
>> ~~~~~
>>
>> When I run that command, I am prompted for my username and password. I
>> input these, and then it is reported that the connection is
>> successful. If I'm *lucky* I can squeeze out enough kilobytes of
>> connection to find out that my IP is successfully being reported as
>> whatever the location I chose is, but after that I cannot connect to
>> anything until I cease the connection with C-c in the command line.
>>
>> I'm at my wit's end as to why this is working in Ubuntu and Windows
>> but not in Debian, and it's driving me mad. I'd like to see some
>> errors! Some sort of pointer as to where I can look next or what I can
>> try next. Any tips on either what I can try or what I can input to get
>> some error messages?
>>
>> For the record, I have an installation of Debian Wheezy (stable) and
>> this problem is identical in there. I think the problem is probably
>> GNOME3's, but do not know of another method of connecting to a VPN
>> with which to test that theory!
>>
>> Also, for reference, here's the help page for the service:
>> https://www.privateinternetaccess.com/pages/client-support/
>>
>> Thank you in advance,
>>
>> --
>> Aubrey
>>
>> "There are two types of people in the world: those who
>>   can extrapolate from incomplete data."
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>> Archive: http://lists.debian.org/20130624173026.728a58ee@rosie
>>


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAKiAkGTTU=5rOrMAQ5-FoJyDpdpP-RchaYHH_kxaU=qi78k...@mail.gmail.com

Reply via email to