openVPN with my h2s issue

chewzlife

Newbie
I use expressVPN and have a h2s.

I have installed and ran openVPN (I use woosh build) and trying to work out how I actually use my vpn provider with it. They provide a .ovpn config file which I assume needs to be uploaded to my box, under etc/openvpn/. I have done this and then start the openvpn plugin on my box. It has green to start and yellow to autostart but when I press them nothing seems to happen. From reading further I can see people talking about a .conf file (which I don't have). ExpressVPN say the .ovpn file contains everything that is needed. They also have an option to download the files seperately which contain: client.cr2, ca2.crt, client.key, ca.key (again no .conf file which I've heard mentioned)

What am I supposed to do with these files? which one(s) needs to be uploaded to my openvpn folder under etc/openvpn?

Any help is appreciated!

Thanks
 
Take your .ovpn file and copy it renaming to Client.conf in the /etc/openvpn folder, open with a text editor and find the line with 'auth-user-pass' written on it, should be about 2/3 the way down. Add pass.txt to the end of this line with a space separating the existing text and this text so it reads 'auth-user-pass pass.txt', now create a text file called pass.txt in the /etc/openvpn folder on the box, in this file put your username and password on separate lines, you may also need to copy the crt and key files supplied by your provider to this directory.

Hope this helps.

ps Use a binary text editor like notepad++ to edit your files so it doesn't end up with extra lines in, a pitfall I came across. Or you could use nano/vi etc, if you like to keep it old school. :)

I use expressVPN and have a h2s.

I have installed and ran openVPN (I use woosh build) and trying to work out how I actually use my vpn provider with it. They provide a .ovpn config file which I assume needs to be uploaded to my box, under etc/openvpn/. I have done this and then start the openvpn plugin on my box. It has green to start and yellow to autostart but when I press them nothing seems to happen. From reading further I can see people talking about a .conf file (which I don't have). ExpressVPN say the .ovpn file contains everything that is needed. They also have an option to download the files seperately which contain: client.cr2, ca2.crt, client.key, ca.key (again no .conf file which I've heard mentioned)

What am I supposed to do with these files? which one(s) needs to be uploaded to my openvpn folder under etc/openvpn?

Any help is appreciated!

Thanks
 
Last edited:
Hello, I have managed to get my OpenVPN connected using
openvpn --config XXXXXXXXXXX.conf when using the command line.

I cannot get it to automatically start when I turn the box on, I have clicked the Green button and can confirmed autostart is showing as Enabled.

Do you know how to manually edit the autostart file?
 
I am having issues using my OpenVPN on my zgemma h2s running wooshbuild, every time i try to run it it states "with feeds are down for maintenance?"

can anyone pls advise how to fix this pls...
 
Ok just got it working with PIA
In addition to above (this is specific to PIA not sure about IPVannish)
Within the etc/openvpn folder you need:
Client.conf
pass.txt
ca.rsa.2048.crt <-- your providers certs
crl.rsa.2048.pem <---your providers certs

In the Client.conf you can explicitly see the certificate authority required for PIA

verb 1
reneg-sec 0
crl-verify crl.rsa.2048.pem
ca ca.rsa.2048.crt
disable-occ


Hope this helps!
 
##### OpenVPN Zgemma H2S Wooshbuild V5 #####

Install OpenVPN
Menu>Setup >System>Network>OpenVPN <Install>

If you get the message like I did "sorry feeds are down for maintenance. please try again later"
Dont waste your time retrying.

Telnet on to your box (plenty of guides in here)
Login and run the command: opkg install openvpn

PIA / OpenVPN files and Configuration
Download: https://www.privateinternetaccess.com/openvpn/openvpn.zip

Extract and Save as Openvpn Config
Take a copy of the country you want to pop out of ie. <county>.conf
Open/Edit the copied file in Notepad++

tls-client
remote-cert-tls server
auth-user-pass <<-- edit this line only
comp-lzo

to read:
auth-user-pass pass.txt <<-- 1 space after pass

Save as ... Client.conf

Create a new .txt file called pass.txt with ONLY your VPN credentials on 2 lines (no additional spaces)

Username
Password

Create a folder on your desktop called openvpn
Within the folder you will need 4 files:
Client.conf
pass.txt
ca.rsa.2048.crt <-- your providers certs from the Openvpn Config
crl.rsa.2048.pem <---your providers certs from the Openvpn Config

FTP the files via your FTP Client ie Filezilla to etc/openvpn

Start OpenVPN
Menu>Setup >System>Network>OpenVPN>Start (or Auto Start)

To confirm success
Telnet or ssh on to your zgemma box and run: curl http://checkip.dyndns.com/
The result should be the IP of your selected VPN and not your routers external IP

Hope this help a few users in the near future.
 
I am having the same issue. I have a zgemma h.s2
Ipvanish acc
I have followed all the steps but when I go to my box and ..Network/Openvpn setup it keeps asking me a question.

Are you ready to install "openvpn"?
After installing (which I have tried number of times) it comes up with
Autostart: Disabled
Current Status Stopped

Whatever button i press nothing happen cant start cant autostart .
Any ideas whats happening?
------------------------------------------------------------------------------------
Also if I try installing / or remove openvpn it comes up with this message:
opkg install openvpn
Installing openvpn (2.3.4-r2) on root.
Downloading http://feeds2.mynonpublic.com/6.0/et10000/mips32el/o penvpn_2.4.0-r0_mips32el.ipk./openvpn_2.3.4-r2_mips32el.ipk.
wget: server returned error: HTTP/1.1 404 Not Found
Collected errors:
* opkg_download: Failed to download http://feeds2.mynonpublic.com/6.0/et10000 /mips32el/openvpn_2.4.0-r0_mips32el.ipk./openvpn_2.3.4-r2_mips32el.ipk, wget r eturned 1.
* opkg_install_pkg: Failed to download openvpn. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package openvpn.
root@zgemma-h:~# opkg update openvpn
Downloading http://www.openvix.co.uk/feeds/openvix/release/3.2/hd1200/3rdparty/Packages.gz.
wget: server returned error: HTTP/1.1 404 Not Found
Downloading http://www.openvix.co.uk/feeds/openvix/release/3.2/hd1200/all/Packages.gz.
wget: server returned error: HTTP/1.1 404 Not Found
Downloading http://www.openvix.co.uk/feeds/openvix/release/3.2/hd1200/hd1200/Packages.gz.
wget: server returned error: HTTP/1.1 404 Not Found
Downloading http://www.openvix.co.uk/feeds/openvix/release/3.2/hd1200/hd1200_3rdparty/Packages.gz.
wget: server returned error: HTTP/1.1 404 Not Found
Downloading http://feeds2.mynonpublic.com/6.0/et10000/mips32el/openvpn_2.4.0-r0_mips32el.ipk./Packages.gz.
wget: server returned error: HTTP/1.1 404 Not Found
Downloading http://www.openvix.co.uk/feeds/openvix/release/3.2/hd1200/mutant1200/Packages.gz.
wget: server returned error: HTTP/1.1 404 Not Found
Collected errors:
* opkg_download: Failed to download http://www.openvix.co.uk/feeds/openvix/release/3.2/hd1200/3rdparty/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://www.openvix.co.uk/feeds/openvix/release/3.2/hd1200/all/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://www.openvix.co.uk/feeds/openvix/release/3.2/hd1200/hd1200/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://www.openvix.co.uk/feeds/openvix/release/3.2/hd1200/hd1200_3rdparty/Packages.gz, wget returned 1.
* opkg_download: Failed to download http://feeds2.mynonpublic.com/6.0/et10000/mips32el/openvpn_2.4.0-r0_mips32el.ipk./Packages.gz, wget returned 1.
* opkg_download: Failed to download http://www.openvix.co.uk/feeds/openvix/release/3.2/hd1200/mutant1200/Packages.gz, wget returned 1.

Please can someone help . Thanks
 
##### OpenVPN Zgemma H2S Wooshbuild V5 #####

Install OpenVPN
Menu>Setup >System>Network>OpenVPN <Install>

If you get the message like I did "sorry feeds are down for maintenance. please try again later"
Dont waste your time retrying.

Telnet on to your box (plenty of guides in here)
Login and run the command: opkg install openvpn

PIA / OpenVPN files and Configuration
Download: https://www.privateinternetaccess.com/openvpn/openvpn.zip

Extract and Save as Openvpn Config
Take a copy of the country you want to pop out of ie. <county>.conf
Open/Edit the copied file in Notepad++

tls-client
remote-cert-tls server
auth-user-pass <<-- edit this line only
comp-lzo

to read:
auth-user-pass pass.txt <<-- 1 space after pass

Save as ... Client.conf

Create a new .txt file called pass.txt with ONLY your VPN credentials on 2 lines (no additional spaces)

Username
Password

Create a folder on your desktop called openvpn
Within the folder you will need 4 files:
Client.conf
pass.txt
ca.rsa.2048.crt <-- your providers certs from the Openvpn Config
crl.rsa.2048.pem <---your providers certs from the Openvpn Config

FTP the files via your FTP Client ie Filezilla to etc/openvpn

Start OpenVPN
Menu>Setup >System>Network>OpenVPN>Start (or Auto Start)

To confirm success
Telnet or ssh on to your zgemma box and run: curl http://checkip.dyndns.com/
The result should be the IP of your selected VPN and not your routers external IP

Hope this help a few users in the near future.
U my friend deserve a fuckin medal, I owe u a drink
 
Hi all.

I have an account with PIA, but i can't seem to find the 2 of 4 files you talk about needing
ca.rsa.2048.crt <-- your providers certs from the Openvpn Config
crl.rsa.2048.pem <---your providers certs from the Openvpn Config

and also, what type of files are they, i.e. notepad or something.

sorry if i am missing something simple, but i am new to this

thanks in advance
 
Back
Top