Skip to content

small web ui that shows individual client bandwidth for a linux NAT router, uses iptables rules

License

Notifications You must be signed in to change notification settings

some-programs/natbwmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

681eb4d · Feb 12, 2025
Oct 30, 2023
Feb 12, 2025
Nov 8, 2023
Feb 5, 2022
Mar 14, 2022
Dec 20, 2020
Feb 16, 2021
Feb 5, 2022
Feb 16, 2021
Jun 1, 2020
Apr 23, 2023
Feb 6, 2022
Feb 12, 2025
Feb 12, 2025
Aug 7, 2021
Oct 31, 2023
Apr 29, 2021
Aug 8, 2022
Feb 6, 2022
Oct 30, 2023
Apr 22, 2023
Mar 14, 2022

Repository files navigation

Go Reference

natbwmon

what?

  • A Small web UI for visaulising up/down bandwidth for NAT clients.

features

  • Show bandwidth per lan client between router host and the internet, updated muliple times per second on default settings.

  • View tracked connections per client host.

  • Web based UI and a command line utility (natbwmontop)

why?

  • I wanted to run this on an UniFi Dream Machine Pro which doesnt officially support third party sofware so a static binary that does not link to anything outside itself was the primary target.

  • This is only tested on UniFi Dream Machine Pro with one specific port configuration so YMMV, should work on most linux NAT gateway setups though.

  • I use this program for an open simple statistic page on the home network that anyone can access. I have no idea how it performs on a network with hundreds or thousands of clients. It might or might not work well at larger scale use cases.

non goals

  • This is a purley personal project and I don't see why anyone would use it in a professional settings so no or very few tests are written.

how to use

  • The only requirement is Go 1.17 or later for mative and cross platform builds.

  • Look at the run script to see how the application is compiled and transferred to the arm64 UDM pro device.

  • Execute go run . -h to see command line flags.

About

small web ui that shows individual client bandwidth for a linux NAT router, uses iptables rules

Resources

License

Stars

Watchers

Forks

Packages

No packages published