Results 1 to 4 of 4

Thread: KALI – How to install OpenVPN for Linux – The Visual Guide

  1. #1
    Member
    Join Date
    Jul 2013
    Posts
    42

    KALI – How to install OpenVPN for Linux – The Visual Guide

    How to install OpenVPN on Kali.

    Step 1 – Download OpenVPN

    Open a Root Terminal and install these 7 packages:
    apt-get install network-manager-openvpn
    apt-get install network-manager-openvpn-gnome
    apt-get install network-manager-pptp
    apt-get install network-manager-pptp-gnome
    apt-get install network-manager-strongswan
    apt-get install network-manager-vpnc
    apt-get install network-manager-vpnc-gnome


    ******

    Step 2 - Download OpenVPN certificates

    Using IVPN as a provider we need:

    - User name (always starts with iVPN)
    - Password
    - 2 Certificates and 1 Key
    - Multiple routes called .ovpn files
    With IVPN, these .ovpn files are under

    Download Tab

    Configuration files (Windows, OSX and Linux)

    Save file


    Zipped file is saved to /tmp


    *******

    Step 3a – Make a VPN directory to keep things ordered

    (Trust me on this… you’ll be so glad)
    *****
    mkdir iVPN

    cp /tmp/iVPN* ~/iVPN


    check that it’s copied over fine…before unzipping.
    *****
    Step 3b – Extract the zipped VPN files

    unzip iVPN-conf-1.5.zip

    Notice the names of the files unzipped…
    *****
    There are 3 critical OpenVPN files that you’ll need to be able to locate.
    ca.crt = certificate authority certificate

    client1.crt = client certificate (ie your certificate)

    client1.key = client key (ie your key)

    ******

    .ovpn are configuration files that contain the route files, IP’s of the gateways etc.

    They specify routes such as direct to Netherlands, or Multihop, USA to UK.
    As the files are unzipped, you’ll see many single or multi hop routes appear.

    *******

  2. #2
    Member
    Join Date
    Jul 2013
    Posts
    42
    Step 4 – Import your VPN routes into Network Manager

    Click on Network Icon (next to Root – Top Right hand corner)


    Scroll down
    VPN Connections - (towards end of page)

    Configure VPN

    IMPORT Button



    IMPORT > Browse to Netherlands.ovpn file

    Remember why we saved all the files under /iVPN… so that we could easily locate them…
    OPEN Button


    The .ovpn will recognise the Netherlands gateway, your Authentication type is “Passwords with Certificates (TLS)”

    Just fill in your user id and password.
    Leave Private Key Password BLANK – don’t fill this in.
    Save
    ******

    Step 5 – Fill in your User Name and password


    *****


  3. #3
    Member
    Join Date
    Jul 2013
    Posts
    42
    Step 6 – Test the VPN

    1. Click the Network Icon next to Root.

    2. VPN Connections – and all your VPN routes will be displayed.

    3. Connect and ensure that you’ve used the right password etc.

    VPN Login Message will confirm you’ve connected

    ******

    Step 7 – Now import the other .ovpn files

    1. Select Network Icon > VPN Connections > Configure VPN

    2. Import > .ovpn for your route eg Switzerland.ovpn > password form will start

    It will be headed iVPN – Switzerland

    3. Now fill in your username and password (but not the private key password – leave this blank).

    4. Save


    That’s it!! You have multiple VPN routes configured.
    *******

    Step 8 – TEST for a Tunnel connection

    ifconfig

    tun0 connection will be listed


    *****

    OpenVPN works on Android, Mac, Linux as well as Windows.

  4. #4
    Junior Member
    Join Date
    Aug 2013
    Posts
    7

    About the Post

    Thank you so much for the post. Here i wanna say, i m using Security Kiss & if anyone wanna use SK u can follow the tut. Also u can found details about installation on

    http://www.securitykiss.com/resource...nux_nm/ubuntu/


    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •