Update vpn script to revert to Uni DNS on exit Signed-off-by: Anirudh <icyph0x@pm.me>
Anirudh icyph0x@pm.me
Sun, 17 Mar 2019 09:11:05 +0530
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
bin/vpnon.sh
→
bin/vpnon.sh
@@ -1,4 +1,6 @@
#!/usr/bin/env bash +sudo cp /etc/resolv.conf /etc/resolv.conf.bk sudo cp ~/Dotfiles/resolv.conf /etc/resolv.conf sudo openvpn --config ~/client.ovpn --script-security 2 +sudo cp /etc/resolv.conf.bk /etc/resolv.conf