You are not logged in.

#1 2017-08-04 02:07:56

made_in_nz
Member
From: Wellington, New Zealand
Registered: 2010-01-04
Posts: 53

openvpn to purevpn - ip route add failing

I'm trying to connect to purevpn using openvpn client.  The first issue was that they don't support the latest openvpn (2.4.3).  Therefore I installed from AUR openvpn-openssl-1.0.
When i connect I am getting an error:

Fri Aug  4 14:03:26 2017 us=418034 /usr/bin/ip link set dev tun0 up mtu 1500
Fri Aug  4 14:03:26 2017 us=421519 /usr/bin/ip addr add dev tun0 43.228.156.200/27 broadcast 43.228.156.223
Fri Aug  4 14:01:26 2017 us=260749 /usr/bin/ip route add 43.228.156.131/32 via 192.168.20.1
Fri Aug  4 14:01:26 2017 us=263229 /usr/bin/ip route add 0.0.0.0/1 via 43.228.156.193
Fri Aug  4 14:01:26 2017 us=265573 /usr/bin/ip route add 128.0.0.0/1 via 43.228.156.193
Fri Aug  4 14:01:26 2017 us=267858 /usr/bin/ip route add 0.0.0.0/0 via 43.228.156.193
RTNETLINK answers: File exists
Fri Aug  4 14:03:28 2017 us=510257 ERROR: Linux route add command failed: external program exited with error status: 2

At this point my routing table is:

[kewel] 2-> route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         43.228.156.193  128.0.0.0       UG    0      0        0 tun0
default         gateway         0.0.0.0         UG    0      0        0 wlp2s0
43.228.156.131  gateway         255.255.255.255 UGH   0      0        0 wlp2s0
43.228.156.192  0.0.0.0         255.255.255.224 U     0      0        0 tun0
128.0.0.0       43.228.156.193  128.0.0.0       UG    0      0        0 tun0
192.168.20.0    0.0.0.0         255.255.255.0   U     0      0        0 wlp2s0

and running the last command receives the same error. 

I use netctl to start up a wireless connection to my home network.
Is there anything I can do to the client config file to fix this?  Any ideas much appreciated,just spent 100 bucks on a subscription to purevpn but may need to use their money back guarantee!

Offline

#2 2017-08-04 02:25:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: openvpn to purevpn - ip route add failing

I would just get my money back. There are plenty of other competent VPN providers that are able to support up-to-date versions of openvpn/ssl. That they don't is, for me, a huge red flag.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-08-04 02:36:11

made_in_nz
Member
From: Wellington, New Zealand
Registered: 2010-01-04
Posts: 53

Re: openvpn to purevpn - ip route add failing

I did put that to them.  They say the are updating their certificates soon, but I also saw a similar post about this a few months back and they made the same comment then.
Unfortunately they don't state what versions of openvpn they support on their site and I didn't foresee this being a problem.

I'm open to any suggestions for a cheap vpn provider that supports openvpn - what are all you other arch users using?

Offline

#4 2017-08-04 03:28:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: openvpn to purevpn - ip route add failing

PIA have been great over the years. They also are big supporters of freenode, where all the arch chans are.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-08-04 04:50:49

made_in_nz
Member
From: Wellington, New Zealand
Registered: 2010-01-04
Posts: 53

Re: openvpn to purevpn - ip route add failing

Looking at their info they may also only support openvpn 2.2 & 2.3.  I've asked them for a free trial for a few days, we'll see what they come back with.

I'd still be interested to know if there is a way to resolve the route add issue above.

Offline

Board footer

Powered by FluxBB