Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #author: Cathal Cleary (AIT)
- #Subject: Setting Up and Running VPN in Kali Linux
- #Source: http://www.blackmoreops.com/2015/03/01/setup-vpn-on-kali-linux/
- #Step 1: Enabling VPN:
- #To enable all 'features':
- aptitude -r install network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-strongswan network-manager-vpnc network-manager-vpnc-gnome
- #To only enable VPN:
- apt-get install network-manager-openvpn
- #Make sure to restart service-network-manager and networking with the following 2 commands
- service networking restart
- service network-manager restart
- #Step 2: Dowload and Extract openVPN Certs from PIA by using the following 2 commands
- # Take note of where these filea are extracted to as they will be needed late.
- wget https://www.privateinternetaccess.com/openvpn/openvpn.zip
- unzip -q openvpn.zip -d /etc/openvpn
- #Step 3: Configure Network Manager to use PIA VPN
- # Navigate to: Network Manager -> Edit Connections (May vary depending on Kali version. It's different on mine!)(Image_1)
- #Navigate to VPN -> add (Image_2)
- #Click Drop Down Menu and Choose OpenVPN (Image 3)
- #Click 'Create' and enter the following details/Similare Details (Image 4)
- # It is not very clear on whethere you have to use a gateway that is local to your area or
- #whether you can use anyone of the available ones. They are listed below just in case. Use a local one if possible to be sure.
- # United States (US VPN)
- #=========================================
- # us-midwest.privateinternetaccess.com
- # us-east.privateinternetaccess.com
- # us-west.privateinternetaccess.com
- # us-texas.privateinternetaccess.com
- # us-california.privateinternetaccess.com
- # us-florida.privateinternetaccess.com
- # Canada (CA VPN)
- #======================================
- # ca.privateinternetaccess.com
- # ca-toronto.privateinternetaccess.com
- # United Kingdom (UK VPN)
- #========================================
- # uk-london.privateinternetaccess.com
- # uk-southampton.privateinternetaccess.com
- # Switzerland (Swiss VPN)
- #=========================================
- # swiss.privateinternetaccess.com
- # Netherlands (NL VPN)
- #============================================
- # nl.privateinternetaccess.com
- # Sweden (SE VPN)
- #=============================================
- # sweden.privateinternetaccess.com
- # France (FR VPN)
- #================================================
- # france.privateinternetaccess.com
- # Germany (DE VPN)
- #================================================
- # germany.privateinternetaccess.com
- # Romania (RO VPN)
- #================================================
- # ro.privateinternetaccess.com
- # Hong Kong (HK VPN)
- #===============================================
- # hk.privateinternetaccess.com
- # Israel (Israel VPN)
- #==============================================
- # israel.privateinternetaccess.com
- # Australia (Australia VPN)
- #==============================================
- # aus.privateinternetaccess.com
- # Japan (Japan VPN)
- #===============================================
- # japan.privateinternetaccess.com
- #You can choose your own username and password
- #The ca.crt file in the CA Certificate field refers to one of the files extracted earlier. Click on the folder icon an navigate to this file.
- #Once details are entered, click save.
- Step 4. Connect to VIA VPN.
- Navigate to Network Manager -> PrivateInternetAccess VPN (Image_5)
- #Apparently 'You will see a yellowish colored connection indicator while connecting.' I did not see it though and am not sure if it works or not as I get no indication of successful connection
- #This maybe be because I have no local Gateway.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement