Month: March 2013

Simple PHP encrypt and decrypt

Naveen Nayak March 12, 2013 71 Comments Web Development

You need to have openssl encrypt installed and running. Check this thread if you dont have it already http://stackoverflow.com/questions/11525524/why-cant-i-use-openssl-encrypt /** * simple method to encrypt or decrypt a plain text string * initialization vector(IV) has to be the same when encrypting and decrypting * PHP 5.4.9 ( check your PHP version for function definition changes […]

Ubuntu openvpn with .ovpn file

Naveen Nayak March 4, 2013 44 Comments Linux, Tips and Tricks

This post explains how to connect to a VPN from Ubuntu when you are given a .ovpn file. We will use Ubuntu’s network manager to connect to the VPN. This might look long – but its pretty simple 🙂 Install the required packages sudo apt-get install network-manager network-manager-openvpn network-manager-openvpn-gnome Creating individual files from client.ovpn file […]

Page 1 of 1