Next create the new file in edit mode using: Make sure not to copy any extra leading or trailing spaces.įirst make a new directory called "ntopng" to work in using the command: Next we need to create our docker-compose.yml file, or you can copy it from here. Just make a note of the network interface name for use in our command. I used my wired card in the video at the top. If this is always going to be the state of your machine running NTOPNG, then pick whichever NIC you prefer. You may have two different cards if you have both an ethernet port and a wireless connection connected simultaneously. Look for the one with your normal network IP (for home networks often .x or sometimes 10.0.x.x, etc). This will list out all of your network interfaces on the device. In Linux you have a couple of commands that may give you results. So let's go identify our active network device name. Not to worry, while most docker containers are "confined" to their container and docker networks, this one is going to be able to access the NIC (Network Interface Card) we specify when running the command to install it and start it up. Now that you've got Docker installed, it's time to get into the NTOPNG installation inside of Docker. Click the link below, or right click and open it in a new tab or window to reference it as you continue. It's truly basic terminal commands, and should only take 5 or so minutes. I recommend you go back to those posts and get Docker installed at the very least. If you don't have docker setup already, I use Docker_CE (not Docker.io) to run all of my docker containers. I have several posts that go through the steps of installing Docker and Docker-Compose on Ubuntu based systems for 18.04 and 20.04. Installing NTOPNG in Docker Install Docker Whether you're an IT admin, or an at-home self-hoster, viewing, analyzing, and understanding your network traffic patterns can help keep your networks more secure by detecting anomolies and potential intrusion quickly, as well as helping to close security gaps. By setting it up properly, it can scan your entire network and provide analytical data back about traffic patterns adn levels from different machines or sub-networks within your network. NTOPNG (I rponounce it N-Top-N-G) is a browser based server application you can run in Docker.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |