Who is eating my VyOS traffic? This little tool shows it at a glance ๐ญ
The office network crawls at peak hours and nobody knows who is eating the bandwidth? One binary fixes it: bandwidth, top talkers and flow records, for anything that exports sFlow, in a browser or over SSH. Up and running in 30 seconds.
The pain first ๐
The VyOS box at our office egress has been running for a long time. Every workday peak, the network crawls. Who is eating the bandwidth? No idea. Which machine, talking to which server? No idea either. Pure guessing. The answer was always "try a reboot" ๐
VyOS can export sFlow samples. So can most switches, other brands of routers, and servers.
But then what? There was nothing to look at them with โ The usual tools want a separate server, or a database and a whole dashboard stack. Way too much, just to see my own traffic.
So I wrote a small tool myself. It is called vyos-sflow โจ One binary. Run it on the router itself, or put it on any Linux machine and let every device send its sFlow there.
๐ฆ Three steps to install
First, turn on sFlow in VyOS (skip this if it already sends to 127.0.0.1:6343):
configure
set system sflow interface eth0
set system sflow server 127.0.0.1 port 6343
commit
save
exit
Not a VyOS box? Same idea โ point that device's sFlow export at this machine, port 6343, and continue below.
Then download it and run it:
curl -fLO https://github.com/githubflyideas/vyos-sflow/releases/download/v1.3.3/vyos-sflow-1.3.3-linux-amd64.tar.gz
tar -xzf vyos-sflow-1.3.3-linux-amd64.tar.gz
cd vyos-sflow-1.3.3-linux-amd64 && ./vyos-sflow serve
Open http://ROUTER_IP:8066 in a browser, sign in with admin / tryvyossflow66, and change the password.
That is all. The charts start filling in.

๐ What you get
โ Current bandwidth, and the curve for the last 48 hours
โ Top talkers: which client and which server use the most traffic, ranked
โ Interface traffic from the device's own counters, next to the sampled estimate, so you can see if the numbers line up
โ The flow records behind the charts โ click a spike and find out who it was
โ If a chart is empty, the Sources page tells you why. No guessing

๐ฅ๏ธ No browser? Use the terminal
SSH into the router and run one command:
./vyos-sflow tui
The same picture, in your terminal. Press q to quit. Nothing gets installed, which is nice for a quick look.
Small extras: the web UI speaks 15 languages and has five themes, light to dark.
โ ๏ธ The honest limits
- sFlow only. No NetFlow, no IPFIX
- History is 48 hours. It answers "what is happening" and "what just happened", not long-term reporting
- Linux amd64 only. That covers VyOS and normal Linux servers, but there is no Windows or macOS build
If those three are fine for you, it does the job well.
๐ Get it
Free and open source, Apache-2.0. Search GitHub for vyos-sflow, or use the download link on this site. If you don't like it, delete the folder and it's gone โ the router itself is untouched.
If VyOS runs your office egress or an internet-cafรฉ gateway, give it a try. That "where did my traffic go" feeling is gone.
What do you use to watch your egress traffic? Tell me below ๐
#VyOS #sFlow #opensource #networking #sysadmin