tinc-graph
is a little program to help you display your Tinc network graphically.
It was inspired by makefu/tinc_graphs.
What you need:
- a Tinc network
- an IP geolocation database in binary MMDB format (can be downloaded from MaxMind after creating an account)
tinc-graph
,jq
- ... install:
cargo install
- ... run the examples:
sudo tinc-graph --geoip-file PATH_TO_YOUR_GEOIP_DATABASE --network NAME_OF_YOUR_NETWORK > static/network.json
./tinc-statistics < static/network.json > static/statistics.json
python3 -m http.server --directory static
(or similar)- visit http://0.0.0.0:8000/graph.html and http://0.0.0.0:8000/map.html