From 135ffe29a5b9cb97570f179455f7f2e6a9cd5559 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 2 Feb 2023 13:23:57 -0800 Subject: [PATCH] Add iftop docs for router --- router/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/router/README.md b/router/README.md index 68f7334..80571f6 100644 --- a/router/README.md +++ b/router/README.md @@ -74,4 +74,8 @@ set system login user admin authentication public-keys jafner425@gmail.com key $ ``` 4. `commit; save; exit` -# How to Port-Forward in VyOS +# Check Traffic by TCP Connection +To get a monitoring panel of bandwidth usage listed by connection on the internet, use `sudo iftop -i pppoe1`. +To instead get usage listed by connection on LAN, use `sudo iftop -p -i eth6` + +[`iftop` docs](https://linux.die.net/man/8/iftop). Use [`pcap-filter'](https://www.tcpdump.org/manpages/pcap-filter.7.html) syntax for filtering with the `-f` flag. \ No newline at end of file