From 47bdf28f4f85deb64852f27f45394c019f3092f5 Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Thu, 19 Nov 2020 21:06:48 -0500 Subject: [PATCH] print public IP upon connect/disconnect --- bin/ubuntu_connect_bubble | 1 + bin/ubuntu_disconnect_bubble | 1 + 2 files changed, 2 insertions(+) diff --git a/bin/ubuntu_connect_bubble b/bin/ubuntu_connect_bubble index b744d747..ad5b7a33 100755 --- a/bin/ubuntu_connect_bubble +++ b/bin/ubuntu_connect_bubble @@ -322,6 +322,7 @@ Bubble Host : ${BUBBLE_HOST} Device Dir : ${BUBBLE_DIR} Certificate : ${CERT_DEST} VPN Config : ${WG_CONF} +Public IP : $(curl -s http://checkip.amazonaws.com/) " if [[ ! -z "$(which firefox)" ]] ; then diff --git a/bin/ubuntu_disconnect_bubble b/bin/ubuntu_disconnect_bubble index a5296e2d..0e63fb70 100755 --- a/bin/ubuntu_disconnect_bubble +++ b/bin/ubuntu_disconnect_bubble @@ -153,6 +153,7 @@ echo " ============================================================== Device Name : ${DEVICE_NAME} Bubble Host : ${BUBBLE_HOST} +Public IP : $(curl -s http://checkip.amazonaws.com/) " if [[ ! -z "$(which firefox)" ]] ; then