flamusdiu / python-pia

Commandline tool to auto configure PIA services
42 stars 9 forks source link

NetworkManager does not work with new `openvpn.zip` #9

Closed vise890 closed 8 years ago

vise890 commented 8 years ago

When I

  1. follow the wiki and I change the PKGBUILD to point to the new openvpn.zip from PIA
  2. run pia -a
  3. try to connect to a VPN through NetworkManager

Then:

I think the NetworkManager template should point to ca.rsa.2048.crt

Also I set proto-tcp=yes and port=502 as described by nigeil in the AUR comment and added cipher=AES-128-CBC

The working NM config I have now is:

[connection]
id=UK Southampton
uuid=********************************
type=vpn

[vpn]
service-type=org.freedesktop.NetworkManager.openvpn
connection-type=password
password-flags=0
remote=uk-southampton.privateinternetaccess.com
comp-lzo=yes
reneg-seconds=0
port=502
username=**********
remote-cert-tls=server
ca=/etc/openvpn/ca.rsa.2048.crt
dev=tun
cipher=AES-128-CBC
proto-tcp=yes

[ipv6]
method=auto

[ipv4]
method=auto

[vpn-secrets]
password=**********

EDIT: added info, it's now working

flamusdiu commented 8 years ago

Yeah, this is due to new security requirements. I just noticed these changes last night.

flamusdiu commented 8 years ago

Fixed with v2.8

Umm, just curious why you put the login information directly into the file?

vise890 commented 8 years ago

It's just the compiled version of the nm template

flamusdiu commented 8 years ago

Lol...wow, not enough coffee. =p