How to prevent leaks from VPN

I used following commands to prevent -almost- any outgoing internet connection from my Linux computer when VPN connection is not active. It is simple and it works. Reset ufw rules to default # ufw –force reset Drop all incoming traffic # ufw default deny incoming Drop all outgoing traffic # ufw default deny outgoing Let firewall […]

How to paste as plain text [gnome] [debian] [ubuntu]

sudo aptitude install percentile copy formatted text CTRL ALT H select the text just copied paste it using CTRL V without formatting or try CTRL SHIFT V ErtuğrulFrom defending clients to defending code. Developing software professionally in the U.S., offering legal advice on the side, and gaming like it’s still the ’90s. LLM Exeter, PhD(c) […]

How to keep VPN connection alive automatically on debian

In today’s world of relentless surveillance, censorship and raising authoritarianism, using VPN –while it is still legal– should be a routine practice. I wrote a script to keep my VPN connection alive. This script runs when you log in and checks every 20 seconds whether your VPN is connected or not. If it finds out […]

How to install Virtualbox in Ubuntu

With Ubuntu 8.10 you only need one command to have Virtualbox running: sudo apt-get install virtualbox-ose You’ll find its icon under Applications – Accessories. In Ubuntu 8.04 and prior versions: sudo apt-get install virtualbox-ose sudo apt-get install virtualbox-ose-modules-`uname -r` sudo adduser $USER vboxusers log out and log in (hit Ctrl-Alt-Backspace) You probably need to run […]