Who’s on my network?

(#WatchYourLAN)

If you read this on fediverse and the layout is off, here’s the link to the original blog post with a nice text & pictures layout.

The problem:

I’m just curious what is connected to my home network, because it’s over 30 devices. Some have static IPs, some dynamic. I don’t recognize devices by their IPs anymore.

The solution

There are many solutions to this. The most obvious solution is not being paranoid about it, so no tool is needed.

Then, I could edit the ARP table on my ISP modem. But because it’s not my device, I don’t like to edit it too much.

The second possible solution is to edit/rename client list on and give meaningful names to IPs. I tried once but I forgot why I didn’t like the solution.

Now I found out about tool. I installed it and after few days, it seems quite nice.

The process:

WatchYourLan needs Docker to run(update: not necessariy, see comments below). I have ‘only’ Proxmox running in my homelab and I wanted to use it also for this server. So I installed Docker in LXC on Proxmox. Which is kind of stupid. A container within container. The usual way is to install the in ’s VM. But I don’t want to dedicate the whole VM to this ‘simple’ task.

  1. Install Docker in Proxmox’s LXC

I just followed this fine video: https://www.youtube.com/watch?v=hDR_1opHGNQ

To sum it up, just create a new , go to Options/Features, check keyctl on, nesting on. Why? I have no idea, I’m just following some random internet instructions.

proxmox lxc features menu

I used Ubuntu server as a template when creating LXC, so the instructions in the video above are not quite right (they’re for Debian). So I followed the following instructions to install the Docker in Ubuntu LXC:

https://docs.docker.com/engine/install/ubuntu

2. I added Portainer, just for the sake of it. And to run/stop WatchYourLan, because I always forget command line commands to do it.

portainer screenshot showing containers running in docker

3. Install WatchYourLan

https://hub.docker.com/r/aceberg/watchyourlan

I wanted to install it using Portainer, but I didn’t know how, so I just used commad line to start it up:

After that, Portainer sees it and I can control it via Portainer’s web UI.

WatchYourLan is accesible at the adress: localhost:8840.

Then I set names to all devices. It took me quite some time to sort out 40 devices.

watchyourlan list of clients with ips and names and network chip manufacturers

4. It is really a low-resource tool:

proxmox resource screen

5. But what can I do with it?

The most useful thing this tool provides is the following:

watchyourlan screen history of connections by clients looking similar to defrag screen

This image is an overview of the connection dropouts (green-online, grey-offline). For the first time I saw my FireHD tablet frequently drops the connection, which is probably the reason why it doesn’t wake up always when Home Assistant sends it a command to wake the screen up.

6. Lastly, I added it to Home Assistant via Proxmox integration:

home assistant lxc integration showing various server properties like cpu, mem, disk

Key takeaways

WatchYourLan is a perfect tool if you’re paranoid and want to know who is on you network.


Posted

in

, , ,

by

Comments

7 responses to “Who’s on my network?”

  1. Johnathan Corgan Avatar

    @tomi If you ever want to run it directly as an LXC, you can use this script to install it as such:

    https://tteck.github.io/Proxmox/#watchyourlan-lxc

    But perhaps I am running an older version–I don't see the option to produce the display in your first screenshot (the green/grey history).

    1. Tomi the Slav and 1024 others Avatar

      @jcorgan @tomi Interesting! I was looking for a more direct way to run it in LXC. Docker was a backup solution. Thanks! Will try it out.

      1. Johnathan Corgan Avatar

        @po3mah @tomi The proxmox helper scripts repo is a gold mine.

        1. Tomi the Slav and 1024 others Avatar

          @jcorgan @tomi … and Mastodon/#fediverse is a gold mine of people who provide help. I would never find it.

    2. Johnathan Corgan Avatar

      @tomi Indeed this was the case–I just updated the LXC and get a whole new UI ๐Ÿ˜„

      1. Tomi the Slav and 1024 others Avatar

        @jcorgan @tomi Oh my, I've just checked, Proxmox VE Helper-scripts is a real candy store ๐Ÿ˜ป ๐Ÿ˜. It has everything I ever wished but I didn't have a will to install: frigate, wireguard,…

Leave a Reply

Your email address will not be published. Required fields are marked *