brunetto / fip

Small utility to find out a machine IP (as seen from the internet).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fip

Small utility to find out a machine IP (as seen from the internet).

Installation

If you have a Go(lang) installation

go get github.com/brunetto/fip

otherwise (if you run an Ubuntu 64bit) just download the binary.

Usage

Use like:

fip once

to run it one time and get back the ip on the STDOUT (useful to start a file server for example)

Launch with

(./fip)&

to have it run indefinitely and updating the ip.txt file (useful to have an update address to connect to).

You can also query the ip address as seen from the local network with:

fip local <interface>

About

Small utility to find out a machine IP (as seen from the internet).

License:MIT License


Languages

Language:Go 100.0%