all repos — dotfiles @ 1dc95e9a890c822a643e6f6b2f4ec4a4891e474d

my *nix dotfiles

bin/vpnon.sh (view raw)

1#!/usr/bin/env bash
2
3ssh -D 8008 emerald -fN
4
5sudo cp /etc/resolv.conf /etc/resolv.conf.bk
6sudo cp ~/dotfiles/resolv.conf /etc/resolv.conf
7sudo openvpn --config ~/client.ovpn
8sudo cp /etc/resolv.conf.bk /etc/resolv.conf