Category Archives: vpn

What’s in a VPN? Posing!

So you have tincd running. You’d better add

GraphDumpFile = /tmp/mynet.dot

to its configuration.

 

After that, you can put this script in your user’s crontab, every minute

#!/bin/bash

src=/tmp/mynet.dot
export DISPLAY=:0

[[ -f “$src” ]] || exit

dot -Ksfdp -Gratio=1.7 -Gsize=18,18 -Gbgcolor=’#0000aa’ -Ncolor=red -Nfontcolor=orange -Ecolor=yellow -Edir=none “$src” -Tpng|feh –bg-center –

what do you have now? an ugly desktop background with which you can watch your vpn graph, for vpn’s sake.Metralleta_like_a_boss