Skip to content

GetIPAddressOfInterface

Terminal window
ip -4 addr show tun0 | grep -oP '(?<=inet\s)\d+(\.\d+){3}'