When I made that VPN script thing, I did so mostly remotely from the host system on which it would be used, over SSH.
So where I would usually just run a quick ‘what is my ip’ web search to confirm my internet IP, that was not possible when testing the VPN script over SSH. So I made this. I still find it useful so, uh, maybe others will too.
The script also checks your IP with multiple (three) online services. You know, in case one is lying to you, or, uhh… Just… It makes extra sure, okay?