OpenVPN on Ubuntu 18.04

Install and copy configs:

sudo apt update
sudo apt install openvpn
wget -P ~/
tar zxvf EasyRSA-3.0.4.tgz
cd EasyRSA-3.0.4
cp vars.example vars
vim vars

Set these variables...

OpenVPN on FreeBSD 11.1

Install and copy configs:

Let’s first change shell to sh as FreeBSD comes with csh by default:

root@vpn:~ # sh
pkg update && pkg install openvpn
mkdir /usr/local/etc/openvpn
cp /usr/local/share/examples/openvpn/sample-config-files/server.conf \

Stop using ActiveRecord's first method

If you’ve grown with Rails like me you know that everyone used and perhaps still use everywhere first. You type it without hesitation.


I know that it’s so simple that maybe it even doesn’t deserve a post but just stop doing that.

There’s a much...

Page 1 of 3 | Next