underworld
New member
- Joined
- May 3, 2012
- Messages
- 2
- Reaction score
- 1
- Points
- 0
HI All, the following instructions and files will outline what you need in-order to get HideMyAss Pro working with Vix/BH OpenVPN and probably the rest of the images with OpenVPN installed.
First of all ensure you have HMA Pro Account. Please use my referral Link as a thanks for my tuturial.
1] Install Curl (This we will use later to pull provide external ISP IP Address)
Connect to the command line shell using your choice of terminal emulator (Putty etc), once logged in type the following.
cd /tmp
opkg download curl
You then need to install curl by ising the install local exentions option on your STB Interface
2] Transfer my openvpn folder and replace with the attached.
Transfer all of the attached files to /etc/ (this will replace any current config you have for openvpn)
Folder structure will look like
ls -tlrR /etc/openvpn/
.:
drwxr-xr-x 2 root root 368 May 3 09:43 keys
-rw-r--r-- 1 root root 13199 May 3 09:43 hmaserver.list
-rw-r--r-- 1 root root 5480 May 3 09:43 client.conf
-rw-r--r-- 1 root root 63 May 3 09:43 check_ip
-rwxr-xr-x 1 root root 25 May 3 09:43 stop_vpn
-rwxr-xr-x 1 root root 27 May 3 09:43 start_vpn
-rw-r--r-- 1 root root 23 May 3 09:44 password.conf
./keys:
-rw-r--r-- 1 root root 891 May 3 09:43 hmauser.key
-rw-r--r-- 1 root root 3908 May 3 09:43 hmauser.crt
-rw-r--r-- 1 root root 1338 May 3 09:43 ca.crt
3] Enter you HMA Pro Username and Passsword in the passsword.conf file.
edit the /etc/openvpn/password.conf file using your perferred text editor and on the first line place your MHA Username, and on the 2nd line place your HMA Password,
exit and save the file.
Example of password.conf contents
cat /etc/openvpn
john1
pass1
4] Configure HMA VPN Remote Server in client.conf
You need to decided which HMA VPN Server you want to use in your configuation, the attached client.conf has ALL UK Based Servers so if this is the config you require you can skip this section.
If not the /etc/openvpn/hmaserver.list file lists off all currently known servers.
you need to add your nominated remote servers to the bottom of the client.conf file (and remove the "remote x.x.x.x" line you do not want)
root@vusolo:/etc/openvpn# cat client.conf |grep remote
# You can have multiple remote entries
;remote my-server-2 1194
# Choose a random host from the remote
# remote-random
remote-random
remote 95.154.230.4 443 # UK Berkshire Maidenhead LOC1 S1
remote 95.154.230.133 443 # UK Berkshire Maidenhead LOC1 S2
5] correct script permissions (stop_vpn / start_vpn / check_ip)
chmod 755 /etc/openvpn/*_vpn
chmod 755 /etc/openvpn/check_ip
6] Current external IP - write it down
/etc/openvpn/check_ip
7] start VPN
/etc/openvpn/start_vpn
8] check newly assigned IP Address and compare with you previous IP in step 6]
/etc/openvpn/check_ip
9]
You are done. I would reboot your box, and then try to start openvpn from your STB Menu Interface.
Good luck
First of all ensure you have HMA Pro Account. Please use my referral Link as a thanks for my tuturial.
Code:
http://hidemyass.com/vpn/
1] Install Curl (This we will use later to pull provide external ISP IP Address)
Connect to the command line shell using your choice of terminal emulator (Putty etc), once logged in type the following.
cd /tmp
opkg download curl
You then need to install curl by ising the install local exentions option on your STB Interface
2] Transfer my openvpn folder and replace with the attached.
Transfer all of the attached files to /etc/ (this will replace any current config you have for openvpn)
Folder structure will look like
ls -tlrR /etc/openvpn/
.:
drwxr-xr-x 2 root root 368 May 3 09:43 keys
-rw-r--r-- 1 root root 13199 May 3 09:43 hmaserver.list
-rw-r--r-- 1 root root 5480 May 3 09:43 client.conf
-rw-r--r-- 1 root root 63 May 3 09:43 check_ip
-rwxr-xr-x 1 root root 25 May 3 09:43 stop_vpn
-rwxr-xr-x 1 root root 27 May 3 09:43 start_vpn
-rw-r--r-- 1 root root 23 May 3 09:44 password.conf
./keys:
-rw-r--r-- 1 root root 891 May 3 09:43 hmauser.key
-rw-r--r-- 1 root root 3908 May 3 09:43 hmauser.crt
-rw-r--r-- 1 root root 1338 May 3 09:43 ca.crt
3] Enter you HMA Pro Username and Passsword in the passsword.conf file.
edit the /etc/openvpn/password.conf file using your perferred text editor and on the first line place your MHA Username, and on the 2nd line place your HMA Password,
exit and save the file.
Example of password.conf contents
cat /etc/openvpn
john1
pass1
4] Configure HMA VPN Remote Server in client.conf
You need to decided which HMA VPN Server you want to use in your configuation, the attached client.conf has ALL UK Based Servers so if this is the config you require you can skip this section.
If not the /etc/openvpn/hmaserver.list file lists off all currently known servers.
you need to add your nominated remote servers to the bottom of the client.conf file (and remove the "remote x.x.x.x" line you do not want)
root@vusolo:/etc/openvpn# cat client.conf |grep remote
# You can have multiple remote entries
;remote my-server-2 1194
# Choose a random host from the remote
# remote-random
remote-random
remote 95.154.230.4 443 # UK Berkshire Maidenhead LOC1 S1
remote 95.154.230.133 443 # UK Berkshire Maidenhead LOC1 S2
5] correct script permissions (stop_vpn / start_vpn / check_ip)
chmod 755 /etc/openvpn/*_vpn
chmod 755 /etc/openvpn/check_ip
6] Current external IP - write it down
/etc/openvpn/check_ip
7] start VPN
/etc/openvpn/start_vpn
8] check newly assigned IP Address and compare with you previous IP in step 6]
/etc/openvpn/check_ip
9]
You are done. I would reboot your box, and then try to start openvpn from your STB Menu Interface.
Good luck
Attachments
Last edited by a moderator: