all repos — dotfiles @ 37bc4d4a912362c6b122a9744ee085f9fcc447b2

my *nix dotfiles

can't ssh that way apparently
icyphox icyph0x@protonmail.com
Wed, 24 Jan 2018 20:00:07 +0530
commit

37bc4d4a912362c6b122a9744ee085f9fcc447b2

parent

0f6e5a30e09a61b7771ae1b5796df24866a23b4c

1 files changed, 4 insertions(+), 8 deletions(-)

jump to
M scripts/pregame.shscripts/pregame.sh

@@ -1,16 +1,12 @@

#!/bin/bash - -# create a SOCKS proxy -ssh -D 8008 boop - # change nameservers -sudo echo nameserver 8.8.8.8 > /etc/resolv.conf + 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 + chattr +i /etc/resolv.conf # kill dhcpcd (messes with IP) -sudo systemctl stop dhcpcd.sevice + systemctl stop dhcpcd.sevice # start VPN -sudo openvpn --config ~/icy.ovpn + openvpn --config ~/icy.ovpn