Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

- How to install OpenVPN (nVPN) on Backtrack 5 full detailed high quality tutorial! -

hey mates, i decided to make a tutorial about how to install nvpn openvpn on backtrack 5. In windows it is kind of easy:

- installing
- copy and paste config file
- getting started

on Linux it isn´t easy like this. There will be many little things which can really frustrade people who are new to linux. This tutorial show you how you get through this installation with many (maybe all) kind of rub. In this tutorial i will show you, how you can install nvpn (openvpn) in a very very easy way.

What you will need?
- NVPN (OpenVPN) Account of course? :)
- Your Config file (download it from nvpn)
- "Wine" on Backtrack 5 (it will be installed)
- network-manager-openvpn

Getting started on Backtrack 5.
First of all install the network controller:


Code
apt-get install network-manager-openvpn


(it maybe already installed)

Than download NVPN (*.exe, YES Exe ^^) from here: http://support.nvpn.net/Knowledgebase/Ar...ad-openvpn

open and Install it via "WINE". In Backtrack 5 Wine is already installed, if not:


Code
apt-get install wine

[IMG]http://img192.imageshack.us/img192/1857/unbenanntshw.png[/IMG]


If you ve done so far, you need to copy your config-files into the folder. i will show you 2 options how you can copy them:


Code
1. cp ~/.wine/drive_c/Program\ Files/OpenVPN/config/your.ovpn  ~/OpenVPN-Conf/your.ovpn

2. cp ~/.wine/drive_c/Program\ Files/OpenVPN/config/US.crt  ~/OpenVPN-Conf/US.crt


1. There you copy "your.ovpn" file from the folder OPEN-VPN-Conf into the config Folder of the real OpenVPN

2. There you copy your "US.crt" file from the Folder OpenVPN into the config folder of the real Openvpn
the path might me different so i will show you an easier way ^^

Second Way, Clicking Through:

[IMG]http://img585.imageshack.us/img585/5247/unbenannt2cb.png[/IMG]

Program Files -> OpenVPN -> config

and replace the Files with your config which you can download on nvpn within the client area.

After you have successfull replaced the files you need to open the network connections and edit the vpn-connection like this.

[IMG]http://img7.imageshack.us/img7/6849/unbenannt3dd.png[/IMG]


[IMG]http://img97.imageshack.us/img97/4884/unbenannt4kw.png[/IMG]


1. Authentication Type: choose Password like above

2. Connection name: filled in automatically

3. Gateway: NVPN-Connection IP, can be found in the clientare of NVPN under Assigned IP

4. User name: NVPN username

5. Password: NVPN Password

6. CA Certificate: click on the symbol and follow like this:

root -> .wine (if there won´t be a folder than press strg + h because it may be hidden) select it -> drive_c -> Program Files -> OpenVPN -> config -> US.crt (or which server you got)

[IMG]http://img337.imageshack.us/img337/2154/unbenannt5r.png[/IMG]


Than go to your Network Controller Applet (http://projects.gnome.org/NetworkManager/?x=22) and select your VPN connection.

If there won´t be symbol than you have to make it visible:

First,go to /etc/NetworkManager/ directory by this:

1. cd /etc/NetworkManager/

2. Then,edit nm-system-settings.conf file:

3. sudo gedit nm-system-settings.conf

4. change “managed=false” into “managed=true” and save the file.

5.Finally,restart the network:

/etc/init.d/networking restart


[IMG]http://img859.imageshack.us/img859/589/unbenannt6b.png[/IMG]


finsihed! reboot and than enjoy your nvpn connection! Thank you for reading, i hope i could helped some guys of you. Sorry for my bad english i ve wrote it in hurry :) i would be glad about it, if there will be some posts when it has helped you. Even thanks for reading.

Nice tutorial. :) I'm planning on switching over to linux in the near future so this'll be helpful for me. Thank you.
thank you mate :) i just can recommend you to switch, or even using a virtual pc for it :)
(Dec 21, 2011 01:26 PM)Que Wrote:  thank you mate :) i just can recommend you to switch, or even using a virtual pc for it :)

I'm not completely new to it, but I'm pretty much a linux noob. I'm currently dual booting with a very small ubuntu 11.10 partition and I use BT5 and Blackbuntu in VM's. I plan to make a complete switch soon though. 👍
You know its actually easier to do it all via command line? I'm making a video right now if anyone is interested
hey it depends on the knowledge and skill of the user who is trying to install it. If you search through the forums you will find many many user who can´t handle the commands and which appreciate a solution "windows" like. it´s more handy to use for someone who is new to linux.

I like your tutorial. Nice how you done it with wine! Keep up the good work.
thank you mate :) you are welcome! its nice to hear that the effort is it worth :)
Everything worked for me, only at the end where the symbol should come up, it doens't.
Any idea how to fix this?
thanks man this has been very helpful :)
I am geting so much problem in backtrack for getting internet connection..Bookmarked this thread...Nice tutorial...
Hi. I realize this is an old thread, but I'm having trouble installing nVPN on Backtrack5 r3. I followed this tutorial, but I'm getting an error when installing nVPN. It says "Unable to install TAP driver." Then when I go to connect, it says "Error opening registry key: SYSTEM/CurrentControlSet/..etc."

If anyone could help me with this, that would be awesome.

Until then, I guess I will keep searching, searching, searching and trying.
Same problem here "Unable to install TAP drive."
And I have no System->Preferences->Network connections menu :(
I must be missing something. followed until Network Connection, I don't have this option. Only just installed backtrack and I am a new user. Am I missing something (clearly)...
perfect, i searched long time for this. thanks


Possibly Related Threads...
Thread / Author Replies Views Last Post
by JAN-SHULTZAug 10, 2022 09:09 PM 11 420 Aug 10, 2022 09:09 PM
Last Post: Stellen Sie TT
[VPN] by G0dzSoldiersApr 10, 2019 11:03 AM 6 410 Apr 10, 2019 11:03 AM
Last Post: Zexus99
[VPN] by QismonMay 21, 2018 08:19 AM 2 258 May 21, 2018 08:19 AM
Last Post: Qismon