How To Install Hide My Ass In Kali Linux

Hide my ass is reputed to be one of the best VPN services of the moment, there is no bridging performed on the Peer To Peer download protocols (torrents,…) and you can have more than 100 servers distributed in more than 60 different countries!

Hide My Ass makes more than 60,000 IP addresses available to its customers.

To be able to use an OpenVPN VPN under Kali Linux, I invite you to consult the tutorial provided for this purpose available here.

After purchasing your subscription, log into your personal space.

You can now download the Linux script available at the following link:

Hide My Ass VPN automatic connection script under Kali Linux

From a console, go to the directory containing the downloaded file. This file is an archive, to unzip (unzip) the downloaded archive use the following command:

unzip hma-vpn-linux-cli.zip

You can now run the script provided by hiding My Ass via this command:

./hma-vpn.sh

The previously run command returns script help to us:

root @ kali: ~ / Desktop # ./hma-vpn.sh 
   __ ____ ______ __ ___ _ _____ _ __
  / // / | / / _ | / / / _ \ _______ | | / / _ \ / | / /
 / _ / / | _ / / __ | / _ / / ___ / __ / _ \ | | / / ___ / /
/ _ // _ / _ / / _ / _ / | _ (_) / _ / / _ / \ ___ / | ___ / _ / / _ / | _ /

Use:
    ./hma-vpn.sh [-l] [-p tcp | udp] [server name]

parameters:
    

– this is to grep pattern by which the script will filter server list and connect to random of any servers which matched the pattern     -l – if specified, instead of connecting, the script will output server list matched with the grep pattern above     -p tcp | udp – sets preferred protocol, default is OpenVPN UDP examples:     ./hma-vpn.sh -l “New York” – lists all servers in New York     ./hma-vpn.sh -l -p udp – lists all servers with OpenVPN UDP support     ./hma-vpn.sh -p tcp Texas – connects to a random Texas server using OpenVPN TCP protocol

For example, we just need to list the VPN servers available in the Netherlands using the following command:

./hma-vpn.sh -l "Amsterdam"

Here is the response received when writing this tutorial:

13 servers matched
Netherlands, Amsterdam (LOC1 S1) 195.242.152.2 TCP UDP
Netherlands, Amsterdam (LOC1 S2) 94.100.17.2 TCP UDP
Netherlands, Amsterdam (LOC1 S3) 94.100.28.130 TCP UDP
Netherlands, Amsterdam (LOC2 S1) 94.102.49.80 TCP UDP
Netherlands, Amsterdam (LOC2 S2) 80.82.65.198 TCP UDP
Netherlands, Amsterdam (LOC2 S3) 80.82.65.105 TCP UDP
Netherlands, Amsterdam (LOC2 S4) 89.248.174.33 TCP UDP
Netherlands, Amsterdam (LOC2 S5) 213.5.65.4 TCP UDP
Netherlands, Amsterdam (LOC2 S6) 213.5.70.4 TCP UDP
Netherlands, Amsterdam - Virtual USA (LOC1 S1) 37.46.115.4 TCP UDP
Netherlands, Amsterdam - Virtual USA (LOC1 S2) 37.46.115.130 TCP UDP
Netherlands, Amsterdam - Virtual USA (LOC1 S3) 37.46.116.4 TCP UDP
Netherlands, Amsterdam - Virtual USA (LOC1 S4) 37.46.116.130 TCP UDP

We just have to choose an IP address and then connect to it with the following command:

./hma-vpn.sh 94.100.28.130

The script connects us to the server, the server asks us to authenticate with the codes provided by Hide My Ass, then the VPN link is created and the IP address visible from the Internet becomes that of the remote server instead of your personal address:

Obtaining list of servers ...
1 matched servers
Connecting to:
Netherlands, Amsterdam (LOC1 S3) 94.100.28.130
Loading configuration ...

Your IP is 74.224.24.150
Thu Dec 19 22:57:24 2013 OpenVPN 2.2.1 i486-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Jun 6 2013
Enter Auth Username: hidema3548
Enter Auth Password:
Thu Dec 19 22:57:59 2013 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Thu Dec 19 22:57:59 2013 Control Channel MTU parms [L: 1573 D: 138 EF: 38 EB: 0 ET: 0 EL: 0]
Thu Dec 19 22:57:59 2013 Data Channel MTU parms [L: 1573 D: 1450 EF: 41 EB: 4 ET: 32 EL: 0]
Thu Dec 19 22:57:59 2013 Local Options hash (VER = V4): 'f61b8fe4'
Thu Dec 19 22:57:59 2013 Expected Remote Options hash (VER = V4): '56af8162'
Thu Dec 19 22:57:59 2013 UDPv4 local link: [undef]
Thu Dec 19 22:57:59 2013 UDPv4 link remote: [AF_INET] 94.100.28.130:53
Thu Dec 19 22:57:59 2013 WARNING: this configuration may cache passwords in memory - use the auth-nocache option to prevent this
Thu Dec 19 22:57:59 2013 VERIFY OK: depth = 1, /C=UK/ST=NR/L=Attleborough/O=Hide_My_Ass__Pro/OU=VPN/CN=vpn.hidemyass.com/[email protected] .com
Thu Dec 19 22:57:59 2013 VERIFY OK: nsCertType = SERVER
Thu Dec 19 22:57:59 2013 VERIFY OK: depth = 0, /C=UK/ST=NR/L=Attleborough/O=Hide_My_Ass__Pro/OU=VPN/CN=server/[email protected]
Thu Dec 19 22:58:00 2013 WARNING: 'link-mtu' is used inconsistently, local = 'link-mtu 1573', remote = 'link-mtu 1541'
Thu Dec 19 22:58:00 2013 WARNING: 'tun-mtu' is used inconsistently, local = 'tun-mtu 1532', remote = 'tun-mtu 1500'
Thu Dec 19 22:58:00 2013 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Dec 19 22:58:00 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Dec 19 22:58:00 2013 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Dec 19 22:58:00 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Dec 19 22:58:00 2013 Control Channel: TLSv1, cipher TLSv1 / SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Thu Dec 19 22:58:00 2013 [server] Peer Connection Initiated with [AF_INET] 94.100.28.130:53
Thu Dec 19 22:58:02 2013 TUN / TAP device tun0 opened
Thu Dec 19 22:58:02 2013 do_ifconfig, tt-> ipv6 = 0, tt-> did_ifconfig_ipv6_setup = 0
Thu Dec 19 22:58:02 2013 / sbin / ifconfig tun0 10.200.5.22 netmask 255.255.252.0 mtu 1500 broadcast 10.200.7.255
 *******************************************
* *
* You are now connected to HMA Pro! VPN *
* *
 *******************************************

Checking new IP address ...
Thu Dec 19 22:58:02 2013 Initialization Sequence Completed
Your IP is 94.100.28.167

You can now use the Internet with an enhanced level of security. VPN connections via OpenVPN protect your data on local networks (public and personal WIFI) but also ensure the confidentiality of information from your computer to the server located abroad.

Namely, you can subscribe to a VPN subscription at hiding My Ass and benefit from it on all your devices (Windows PC, Linux, Mac, iPhone and Android whether it is phones or tablets).

Leave a Reply

avatar
  Subscribe  
Notify of