Thursday, October 06, 2016

Ubuntu 16.04: openvpn dns leak

Direct copy from here:

I had the problem with Ubuntu 16.04 out-of-the-box. After a full week of 12 hour days trying to resolve this issue, I was finally about to fix it. I made a longer post about it here:

Here's the abbreviated version.
Step 1: Goto GitHub and clone the following repo to your home folder:

Step 2: Move the .sh files from your cloned rep to the /etc/openvpn folder:
sudo chmod +x *.sh && sudo mv *.sh /etc/openvpn

Step 3: Run the following command to install new packages for DNS:
sudo apt-get install openresolv nscd unbound

Step 4: Append the following line to your OpenVPN Client Configuration files (*.ovpn or *.conf). I did this after the configuration directives but before my inline certs ( tag):

script-security 2
up "/etc/openvpn/ /etc/openvpn/"
down "/etc/openvpn/ /etc/openvpn/"

This should resolve the DNS resolution problem. Dmitry has the right steps, but I needed the 2nd script for my system to update. Works like my 14.04 system... before I upgraded to 16.04...

Sunday, August 07, 2016

Monday, May 09, 2016

Sunday, May 08, 2016

Scallion on Ubuntu 16.04: The predefined type `System.Object' is not defined

Compile scallion on Ubuntu 16.04 xbuild scallion.sln /p:TargetFrameworkVersion="v4.5" Without 4.5 target, geting following error: CSC: error CS0518: The predefined type `System.Object' is not defined

Friday, May 06, 2016

Arch Linux: FAILED unknown public key

gpg --keyserver --recv-keys KEY More here:

Thursday, May 05, 2016

eschalot example: ./eschalot -vct4 -r "^block[s|z]"

Ubuntu 16.04: Tmux mouse scrolling

add to ~/.tmux.conf set -g mouse on
q to exit scroll mode.

Tuesday, May 03, 2016

Ubuntu16:04: Matlab cant change font size on plots

xorg fonts need to be installed. sudo apt install xfonts-100dpi xfonts-75dpi

Monday, May 02, 2016

Terminator: Set size and position in a config file

Example config file location: /home/mwo/.config/terminator/config

Example content [global_config]
parent = window0
profile = default
type = Terminal
parent = ""
type = Window
size = 2000, 500
position = 420:900