Ξ welcome to cryptostorm's member forums ~ you don't have to be a cryptostorm member to post here Ξ
Ξ any OpenVPN configs found on the forum are likely outdated. For the latest, visit here or GitHub Ξ
Ξ If you're looking for tutorials/guides, check out the new https://cryptostorm.is/#section6 Ξ

HOWTO: Cryptostorm on Linux Mint 13 & 14 KDE

Guides, HOWTOs etc on how to setup Cryptostorm on PCs, smartphones, tablets and routers.
User avatar

Topic Author
parityboy
Site Admin
Posts: 1244
Joined: Wed Feb 05, 2014 3:47 am

HOWTO: Cryptostorm on Linux Mint 13 & 14 KDE

Postby parityboy » Wed Feb 05, 2014 5:39 am

Got this to work tonight, after signing up. Mint 13 KDE and Mint 14 KDE are based on Ubuntu 12.04 & 12.10, respectively.

1. Open a terninal and remove openvpn (this is version 2.2.1)

Code: Select all

sudo apt-get remove openvpn


This will remove the openvpn and network-manager-openvpn packages

2. Download and unpack the openvpn source package from the OpenVPN site

Code: Select all

wget http://swupdate.openvpn.org/community/releases/openvpn-2.3.2.tar.gz
tar xf openvpn-2.3.2.tar.gz


3. Configure and build the openvpn package. It will complain about the dev files for LZO and PAM, so we will install those first.

Code: Select all

sudo apt-get install liblzo2-dev libpam0g-dev
cd openvpn-2.3.2
./configure --prefix=/usr
make
sudo make install


4. Now we must reinstall the network-manager-openvpn package, however we DO NOT want to install the old openvpn package along with it.

Code: Select all

cd ..
apt-get download network-manager-openvpn
sudo dpkg --install --force-depends network-manager-openvpn_0.9.4.0-0ubuntu1_amd64.deb


On Mint 14 the package to install is network-manager-openvpn_0.9.6.0-0ubuntu2_amd64.deb

5. Okay, now that those steps are complete, we must configure the KDE Network Manager with the VPN details. Before we do that, we must download the cryptostorm config file from here, and the certificate from here. [EDIT: Updated link with post-hearbleed certs. -cryptostorm_support]

6a. Now we open the KDE Network Manager and go to the VPN tab, then select Import.
Image


6b. Select the downloaded config file. You will then see this screen.
Image


7. We must also ensure the CA File reflects the path of the .crt file we downloaded earlier, as seen below (highlighted).
Image


8. Now fill in the username and passsord with the hashed value of our Network Token, and the default password which is 93b66e7059176bbfa418061c5cba87dd.

9. Almost there. We must now go to the Optional Security tab and ensure that the Cipher selection is AES-256-CBC and the HMAC Authentication is SHA512.
Image

10. Now we can click OK on all windows. Then select the connection from the Network Manager icon. We should then connect successfully.
ImageImage


jarjar

Re: HOWTO: Cryptostorm on Linux Mint 13 & 14 KDE

Postby jarjar » Mon Mar 24, 2014 8:06 am

I have tried Mint 13 mate and cinnamon and Mint 16 mate.

I can get to the first make command for openvpn package and terminal replies with -
make: *** No targets specified and no makefile found. Stop.


The prior configure command returns this -
configure: error: ssl is required but missing


Anyone beside the author get beyond this??

User avatar

Tealc
ForumHelper
Posts: 283
Joined: Tue Jan 28, 2014 12:38 am

Re: HOWTO: Cryptostorm on Linux Mint 13 & 14 KDE

Postby Tealc » Mon Mar 24, 2014 10:03 pm

jarjar wrote:I have tried Mint 13 mate and cinnamon and Mint 16 mate.

I can get to the first make command for openvpn package and terminal replies with -
make: *** No targets specified and no makefile found. Stop.


The prior configure command returns this -
configure: error: ssl is required but missing


Anyone beside the author get beyond this??


That happens because there is no file named Makefile in that directory.

The configure script determines if your system has all the dependencies necessary to compile the application. If a dependency is not found, the configure will fail and the Makefile's will not be created. To solve that, you must install all the dependencies needed by the application in this case you will need to install the libssl-dev (for Debian, Ubuntu, etc) just run:

Code: Select all

sudo apt-get install libssl-dev

And please DO NOT COMPILE WITH THE "./configure --without-ssl" as many people will tell you to do that! Just install the "libssl-dev" :thumbup:

If you already have the "libssl-dev" installed there is probably a error in the symlink, actually I've read somewhere that this is a know issue in all Mint's versions and OpenSSL, run:

Code: Select all

sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" configure


Them run configure again :D

Just a side note, the first thing I do when I install my flavor of "any" linux distro, it to build the essentials for compiling ;) Most of the "normal" linux users will only do a

Code: Select all

sudo apt-get install build-essential
but not me LOL I go all the way and

Code: Select all

sudo apt-get install git-core gnupg ccache lzop flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5 lib32z1 lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python
, Yes I know it's insane :lolno: :lolno:


jar

Re: HOWTO: Cryptostorm on Linux Mint 13 & 14 KDE

Postby jar » Wed Mar 26, 2014 5:16 pm

Tealc,
Thanks for the help with the intsall, but it would still hang up on the last step forcing a dependency. It would tell me openvpn wasn't installed even though all previous steps were completed without errors.
So I switched strategies and downloaded Kubuntu 14.04LTS beta since it will be a long term support option and already has openvpn 2.3.2 in its repositories.
so here is what I did.

1) sudo apt-get install openvpn
no errors
and verified install with

2) dpkg -l | grep openvpn
linux returns
ii openvpn 2.3.2-7ubuntu3 amd64 virtual private network daemon


3) apt-get download network-manager-openvpn

browsed to home folder to find the version and

4) sudo dpkg --install --force-depends network-manager-openvpn_0.9.8.2-1ubuntu4_amd64.deb

no errors

verified one more time with

5) dpkg -l | grep openvpn

ii network-manager-openvpn 0.9.8.2-1ubuntu4 amd64 network management framework (OpenVPN plugin core)
ii openvpn 2.3.2-7ubuntu3 amd64 virtual private network daemon


6) restarted
7) followed rest of this connection guide

Now everything appears to be installed without errors, but still can't connect.

4 errors returned to Plasma Desktop Shell (notifications)
Active connection state changed
Missing VPN plugin
VPN connection state changed
Device failed to activate

I believed that these packages are actually installed.
Doesn't dpkg -l | grep xxxxxx
return installed a list of installed programs that match the searched term ?

Note ---
I have also tried simply downloading the deb files and using the Package Installer
in the order of
deb file for openvpn
then
deb file for network-manager-openvpn
then restarting.. same result.


Any one got any thoughts?

User avatar

Topic Author
parityboy
Site Admin
Posts: 1244
Joined: Wed Feb 05, 2014 3:47 am

Re: HOWTO: Cryptostorm on Linux Mint 13 & 14 KDE

Postby parityboy » Wed Mar 26, 2014 11:10 pm

@jar

Since you're using 14.04 LTS which as you say already has OpenVPN 2.3.2 in its repository, uninstall the Network Manager OpenVPN plugin you downloaded, and instead do "apt-get-install network-manager-openvpn", and let it take care of the dependencies itself, rather than forcing it to ignore them.

User avatar

Tealc
ForumHelper
Posts: 283
Joined: Tue Jan 28, 2014 12:38 am

Re: HOWTO: Cryptostorm on Linux Mint 13 & 14 KDE

Postby Tealc » Wed Mar 26, 2014 11:50 pm

jar wrote:Tealc,
...hang up on the last step forcing a dependency. It would tell me openvpn wasn't installed even though all previous steps were completed


Do you still have the actual error message from this? It would be great if you could provide the log from the terminal :-D

I'm intrigued with this.... But has I said, there is actually know issues in the Mints for this mater.

User avatar

Topic Author
parityboy
Site Admin
Posts: 1244
Joined: Wed Feb 05, 2014 3:47 am

Re: HOWTO: Cryptostorm on Linux Mint 13 & 14 KDE

Postby parityboy » Wed Mar 18, 2015 9:28 pm

miclejay wrote:Missing VPN plugin
VPN connection state changed
Device failed to activate


What's your distribution? Also, are you comfortable compiling software from source?


Johny Walker
Posts: 5
Joined: Thu Aug 13, 2015 5:02 pm

Re: HOWTO: Cryptostorm on Linux Mint 13 & 14 KDE

Postby Johny Walker » Fri Aug 14, 2015 2:36 pm

hello, my friends ) this configuration - stoped on 4 step:


sudo dpkg --install --force-depends network-manager-openvpn_0.9.4.0-0ubuntu1_amd64.deb

the terminal shows this: "No such file or directory"

maybe someone will have advice?
please help/ :)


Guest

Re: HOWTO: Cryptostorm on Linux Mint 13 & 14 KDE

Postby Guest » Sat Aug 15, 2015 2:43 am

:D Yay! I figured it out. ))


Johny Walker
Posts: 5
Joined: Thu Aug 13, 2015 5:02 pm

Re: HOWTO: Cryptostorm on Linux Mint 13 & 14 KDE

Postby Johny Walker » Sat Aug 15, 2015 2:50 am

Yay! I figured it out.


Da Fucking Lyta

Re: HOWTO: Cryptostorm on Linux Mint 13 & 14 KDE

Postby Da Fucking Lyta » Mon Feb 01, 2016 2:02 am

8. Now fill in the username and passsord with the hashed value of our Network Token, and the default password which is 93b66e7059176bbfa418061c5cba87dd.


What in the name of Hel Half-rotted does this mean?

Please give an example in the form of:
USERNAME:
PASSWORD:


Not Lyta

Re: HOWTO: Cryptostorm on Linux Mint 13 & 14 KDE

Postby Not Lyta » Mon Feb 01, 2016 8:42 pm

Da Fucking Lyta wrote:
8. Now fill in the username and passsord with the hashed value of our Network Token, and the default password which is 93b66e7059176bbfa418061c5cba87dd.


What in the name of Hel Half-rotted does this mean?

Please give an example in the form of:
USERNAME:
PASSWORD:


Okay so I got that I need to do a SHA512-hash of my network access token (https://cryptostorm.is/sha512.html) and put that into the USERNAME field, buuuut it still does not work.

Works fine on windows with the Sexy Narwhal client, but does not work on linux mint 17.2 (ubuntu 14.04).

I've followed the guide and compiled everything (with updated modules), so right now I'm kind of wondering if I need to downgrade to the modules you used in your HOWTO, or if I am an even bigger idi0t than I suspect.


Caramelwafer

Re: HOWTO: Cryptostorm on Linux Mint 13 & 14 KDE

Postby Caramelwafer » Tue Feb 02, 2016 2:09 pm

@Da fuck'

Put the token that was e-mailed to you in here - https://cryptostorm.is/sha512.html (other hashers are availible)

The long list of characters that is produces is your USERNAME.
The long list of characters previously mentioned as your password is your PASSWORD....or, I believe, you could use 'fuckpig', or whatever you prefer. The hashed token username is the important bit.

Where do you put it? Right click on your internet connection in your task bar - edit connections - then press add. You'll see VPN options at the bottom.

Good luck.


Lyta LESS DARK

Re: HOWTO: Cryptostorm on Linux Mint 13 & 14 KDE

Postby Lyta LESS DARK » Wed Feb 03, 2016 8:17 pm

Told ya I did everything as according to the manual, did I not?

Now what, do I need to fuck up a comparison between two VMs and document that one runs and the other does not?


Return to “guides, HOWTOs & tutorials”

Who is online

Users browsing this forum: No registered users and 4 guests

Login