all repos — dotfiles @ bc1abf09c5dee000638aef39546a91684c6383cc

my *nix dotfiles

zzz wrong dir
icyphox icyph0x@protonmail.com
Wed, 24 Jan 2018 19:54:53 +0530
commit

bc1abf09c5dee000638aef39546a91684c6383cc

parent

33e230d87f724557c945ec4fc69c4d379ad72233

1 files changed, 16 insertions(+), 0 deletions(-)

jump to
A scripts/pregame.sh

@@ -0,0 +1,16 @@

+#!/bin/bash + +# create a SOCKS proxy +ssh -D 8008 boop + +# change nameservers +sudo echo nameserver 8.8.8.8 > /etc/resolv.conf + +# write-lock the file (even root can't edit it) +sudo chattr +i /etc/resolv.conf + +# kill dhcpcd (messes with IP) +sudo systemctl stop dhcpcd.sevice + +# start VPN +sudo openvpn --config ~/icy.ovpn