How to watch the internet connections established by devices on OpenWRT router real-time with iftop

We all want to know to which internet connections our devices connect to. One of the best ways to do that, is use iftop.

Install the iftop package in OpenWRT on the router itself to enable it to be used to monitor these network connections.

To do so, open a terminal window on your computer . . . → Read More: How to watch the internet connections established by devices on OpenWRT router real-time with iftop

List of all services connected to internet in Linux

To determine all services connecting to the internet, enter the command below in a terminal window: $ sudo lsof -n -P -i +c 15 <enter>

You can also find similar information using the command below: $ sudo netstat -anp | grep e tcp e udp <enter>

. . . → Read More: List of all services connected to internet in Linux

List open network connections using lsof

You can list out open network connections using lsof by logging in as root and using the lsof command as given below: 1. su 2. lsof -i -P -n

This will list out all commands and processes that are connected to the network.

May 2019
M T W T F S S
« Feb    
 12345
6789101112
13141516171819
20212223242526
2728293031