Posts

Showing posts with the label OpenVPN

Install and Configure OpenVPN on Raspberry Pi

This is a supplement post on setting and configuring OpenVPN. However, we are going to configure OpenVPN on a Raspberry Pi. Download and Install Raspbian OS Download the latest Raspbian OS and burn the image to a SD card using the software Etcher. Once we booted up the Raspberry Pi, we can follow the wizard to set password, enable wifi and update the software. We can also choose to enable ssh and vnc using Raspberry Pi Configuration software. We can also run the configuration software from command line using raspi-config. Install OpenVPN and Easy-Rsa Once the system is updated, we can proceed to install OpenVPN using the command: sudo apt-get install -y openvpn The repository for Raspberry Pi do not have version 3 of easy-rsa. Version 3 of easy-rsa is more easier to use without the need to perform many configuration. To use Easy-RSA version 3, we can download the package from github at the location  https://github.com/OpenVPN/easy-rsa . Once we downloaded and u...

Configuring OpenVPN on AWS EC2 (Update: Jun 2019)

Image
Update Jun 2019 The installation procedure listed below works. However, iOS user may encounter issues while surfing the net when VPN is connected. To resolved this issue, we need to disable compression as it has been decided that compression is unsecure. Please follow the steps below: Remove any compression settings in the server configuration file by adding ; infront of the settings. # disable compression as it is unsecure ;compress lz4-v2 ;push "compress lz4-v2" At openVPN Connect app in iOS, please ensure that compression is disabled. We have updated the server configuration file. Update Aug 2018 When we configure OpenVPN on AWS few months back, OpenVPN is still in the Amazon repo. However, if we start a new instances now, we would not be able to install OpenVPN. Therefore, we need to configure epel as additional repo and install OpenVPN from CentOS. Using epel repo, we managed to installed the latest version of OpenVPN (2.4.6).  Please note th...

Configuring OpenVPN on AWS EC2

Image
This tutorial focus on configuring OpenVPN on Amazon AWS EC2. We will not be going through the process of creating an Amazon account. For details about Amazon AWS please refer to the main site  https://aws.amazon.com/ . Update: 18 Aug 2018 A lot of changes happened in the span of few months. Openvpn is not in AWS AMI repo anymore. We need to install the latest version of Openvpn frpm EPEL and the configuration is very different. Thus we decided to create another version in a new post . If you are still using an old image of AWS and you have already installed Openvpn then the following setting may still work. Acknowledgement We would like to shout-out to Paul Bischoff for his post on "How to make your own free VPN with Amazon Web Services" .   He has recently updated the post for easy-rsa configuration. He made it easy for installing and configuring easy-rsa. However, we did not follow his openvpn configuration. For configuration we refer to openvpn HOWTO articl...