Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "Initialising VPN Connection"
- sleep '1'
- alias startvpn='sudo openvpn --mktun --dev tun0 && sleep 3 && sudo mount --bind ~/vpn/resolv.conf /var/run/shill/resolv.conf && sudo openvpn --config ~/vpn/my-vpn-config.ovpn --dev tun0 && sudo umount /var/run/shill/resolv.conf'
- sleep '1'
- sudo stop shill
- sleep '1'
- sudo start shill BLACKLISTED_DEVICES=tun0
- sleep '1'
- startvpn
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement