After messing around for a while I restarted and then found out the issue was that the pop up was not occuring. Not sure why a reboot fixed that but it did.
Now that I’m getting the pop up for the username and password, the files load fine but I cannot connect the vpn. Here is the message in the UI:
<table style=“border: 0px; min-width: 400px; border-spacing: 5px; margin-left: 20px; color: #ffffff; font-family: arial, helvetica, verdana, sans-serif, ‘Microsoft YaHei’, 微软雅黑, ‘Heiti SC’, 宋体, STXihei, serif; font-size: 14px; line-height: normal; background-color: #295873;”>
<tbody>
<tr>
<td>OpenVpn is</td>
<td>not started</td>
</tr>
<tr>
<td style=“white-space: pre-wrap;”>Last log</td>
<td>OpenVPN 2.3.6 mipsel-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Mar 9 2016 library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08 WARNING: file ‘/etc/openvpn/auth/2016045910.txt’ is group or others accessible Cannot load CA certificate file /etc/openvpn/cert/201604085850-ca.crt (no entries were read): error:02001002:lib(2):func(1):reason(2): error:2006D080:lib(32):func(109):reason(128) Exiting due to fatal error</td>
</tr>
</tbody>
</table>
Seems it is a bug of the UI, the path of the ca is not correct. You can remove all content of /etc/openvpn and try again or manually upload the ca to the router according to the path in your message.
I just downloaded the newest version of de openvpn version of the GL-AR150 firmware (2.18). Great that it’s available!
I have my own openvpn-server and I have protected my ovpn files with a password. Is there a possebility to enter my password when I want to make a connection?
This is the log message I got:
OpenVPN 2.3.6 mips-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Mar 14 2016 library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08 Error: private key password verification failed Exiting due to fatal error
P.S. To be more clear: I’m refering to the PEM pass phrase one can give when generating keys. So not the ovpn files is password protectected, but the keys I generated.
I also think that it’s hard to make. I generated a key without a PEM password, and then it works OK. I will do some more testing to find out if everything is working fine. At the moment I can make a connection…
Doing some more testing using alzhao’s instructions.
First ssh’d into router and removed all files in etc/openvpn.
Uploading another set of files and get the same errors. Also note that the username and password popup is instant now - that seemed to have been an error just requiring one reboot after flashing the new firmware. So no worries about that anymore, but wanted to note in case someone else stumbles on this thread.
This time I looked in the etc/openvpn folders to compare what the error might be.
One more bug found, ovpn files with spaces do not seem to connect (many of the files from PIA have spaces in the names).
Error message recieved was this:
OpenVpn is not started
Last log [Private Internet Access] Peer Connection Initiated with [AF_INET]31.168.172.137:1194 TUN/TAP device tun0 opened do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0 /sbin/ifconfig tun0 10.197.1.6 pointopoint 10.197.1.5 mtu 1500 Initialization Sequence Completed
Simply renaming to remove the spaces did the trick.
@matt_akb, thanks for reporting bugs. We noticed that ( ) in file names have problem, but didn’t notice [space] have problem as well. We revise that. Also for the crl, cert file paths, we will investigate that. We already notices some problems.
I really want to see the speedtest for when you connect to the internet directly with your dongle and the speedtest for when you use your dongle and openvpn running together in this firmware, can you please do that @alzhao ?
Damn, that’s surprising how much slower it got when using openvpn, what about the average CPU load when you were testing it? What was the average cpu load at that time?
FYI there’s another free VPN service, check out tcpvpn.com it’s free, each account is valid for 5 days, can someone test their service and report back how fast you get ?
Updated to 2.18 first and also upgraded to 2.19. Downloaded zip file from PIA openvpn. Loaded all vpns. Entered username and password. It does nothing. It just says please wait when I start it. Am I missing something? I need this to work?