Browse Source

print public IP upon connect/disconnect

tags/v1.4.28
Jonathan Cobb 4 years ago
parent
commit
47bdf28f4f
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      bin/ubuntu_connect_bubble
  2. +1
    -0
      bin/ubuntu_disconnect_bubble

+ 1
- 0
bin/ubuntu_connect_bubble View File

@@ -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


+ 1
- 0
bin/ubuntu_disconnect_bubble View File

@@ -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


Loading…
Cancel
Save