Skip to content

Instantly share code, notes, and snippets.

@Waester
Created December 16, 2017 21:55
Show Gist options
  • Save Waester/902ae44cf27d2c0b9b5ca04206aaaf8d to your computer and use it in GitHub Desktop.
Save Waester/902ae44cf27d2c0b9b5ca04206aaaf8d to your computer and use it in GitHub Desktop.
VPN leak check in CLI
#!/bin/sh
echo ""
echo "##### IP #####"
dig +short myip.opendns.com @resolver1.opendns.com
echo ""
echo "##### DNS ####"
ping whoami.akamai.net -c 1
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment