summaryrefslogtreecommitdiff
path: root/connected.sh
diff options
context:
space:
mode:
Diffstat (limited to 'connected.sh')
-rwxr-xr-xconnected.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/connected.sh b/connected.sh
new file mode 100755
index 0000000..5eaffd5
--- /dev/null
+++ b/connected.sh
@@ -0,0 +1,2 @@
+ip=$(curl https://am.i.mullvad.net/connected | grep -Pom 1 '[0-9.]{7,15}')
+echo "VPN:"$ip