Quick tip 💡

For local bash scripting where you require your current IP address you can pass the following command via ssh to your VPS.
ssh user@ 'echo ${SSH_CLIENT%% *}'

Nice and easy, plus it avoids using an online API :blobderpy:

@caltlgin technically thats still online

the best solution is not being behind nat

@wowaname what I was more referring to is using your own VPS to avoid using services that return your IP but also do tracking, etc. eg: duckduckgo.com/?q=ip+api (Most of these websites)

Sign in to participate in the conversation

This is an instance of Mastodon hosted on NixNet.xyz, a librehosting provider. There isn't really a specific topic; just enjoy your time here and have fun! 😉