Checking your Public IP address

getIP Bash script 

getIP Python script 

both allow you to check your public IPv4 and IPv6 addresses. This is handy when say you work on a VPN and want to quickly check that you’re still connected (by seeing that your IP is in your organizations VPN IP address range), or like many folks behind a NAT router.

These scripts use the “reflector” method, which I have found to be more reliable on complex networks.

Leave a Comment