Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

WatchYourLAN

> 安全
Open source

Lightweight network IP scanner written in Go. With notifications, history, export to Grafana

7.1K stars0 likes2 views
WebsiteGitHub

About

Lightweight network IP scanner written in Go. With notifications, history, export to Grafana

WatchYourLAN


Lightweight network IP scanner with web GUI. Features:

  • Send notification when new host is found
  • Monitor hosts online/offline history
  • Keep a list of all hosts in the network
  • Send data to InfluxDB2 or Prometheus to make a Grafana dashboard

[!IMPORTANT]
Please, consider making a donation. Even $10 will make a difference to me.

More screenshots

Expand

Quick start

Expand

Replace $YOURTIMEZONE with correct time zone and $YOURIFACE with network interface you want to scan. Network mode must be host. Set $DOCKERDATAPATH for container to save data:

bash
docker run --name wyl \
	-e "IFACES=$YOURIFACE" \
	-e "TZ=$YOURTIMEZONE" \
	--network="host" \
	-v $DOCKERDATAPATH/wyl:/data/WatchYourLAN \
    aceberg/watchyourlan

Web GUI should be at http://localhost:8840

Auth

Expand

WatchYourLAN does not have built-in auth option. But you can use it with SSO tools like Authelia, or my simple auth app ForAuth.
Here is an example docker-compose-auth.yml.

:warning: WARNING!
Please, don't forget that WYL needs host network mode to work. So, WYL port will be exposed in this setup. You need to limit access to it with firewall or other measures.

Install on Linux

Expand

All binary packages can be found in latest release. There are .deb, .rpm, .apk (Alpine Linux) and .tar.gz files.

Supported architectures: amd64, i386, arm_v5, arm_v6, arm_v7, arm64.
Dependencies: arp-scan, tzdata.

For amd64 there is a deb repo available

Config

Expand

Configuration can be done through config file, GUI or environment variables. Variable names is config_v2.yaml file are the same, but in lowcase.

Basic config

Variable Description Default
TZ Set your timezone for correct time
HOST Listen address 0.0.0.0
PORT Port for web GUI 8840
THEME Any theme name from https://bootswatch.com in lowcase or additional sand
COLOR Background color: light or dark dark
NODEPATH Path to local node modules
SHOUTRRR_URL WatchYourLAN uses Shoutrrr to send notifications. It is already integrated, just needs a correct URL. Examples for Discord, Email, Gotify, Matrix, Ntfy, Pushover, Slack, Telegram, Generic Webhook and etc are here

Scan settings

Variable Description Default
IFACES Interfaces to scan. Could be one or more, separated by space. See docs/VLAN_ARP_SCAN.md.
TIMEOUT Time between scans (seconds) 120
ARP_ARGS Arguments for arp-scan. Enable debug log level to see resulting command. (Example: -r 1). See docs/VLAN_ARP_SCAN.md.
ARP_STRS ARP_STRS_JOINED See docs/VLAN_ARP_SCAN.md.
LOG_LEVEL Log level: debug, info, warn or error info
TRIM_HIST Remove history after (hours) 48
HIST_IN_DB DEPRECATED since 2.1.3. Now History is always stored in DB. Use TRIM_HIST to reduce DB size
USE_DB Either sqlite or postgres sqlite
PG_CONNECT Address to connect to PostgreSQL. (Example: postgres://username:[email protected]:5432/dbname?sslmode=disable). Full list of URL parameters here

InfluxDB2 config

This config matches Grafana's config for InfluxDB data source

Variable Description Default Example
INFLUX_ENABLE Enable export to InfluxDB2 false true
INFLUX_SKIP_TLS Skip TLS Verify false true
INFLUX_ADDR Address:port of InfluxDB2 server https://192.168.2.3:8086/
INFLUX_BUCKET InfluxDB2 bucket test
INFLUX_ORG InfluxDB2 org home
INFLUX_TOKEN Secret token, generated by InfluxDB2

Prometheus config

This config configures the Prometheus data source

Variable Description Default Example
PROMETHEUS_ENABLE Enable the Prometheus /metrics endpoint false true

Config file

Expand

Config file name is config_v2.yaml. Example:

yaml
arp_args: ""
color: dark
host: 0.0.0.0
ifaces: enp4s0
influx_addr: ""
influx_bucket: ""
influx_enable: false
influx_org: ""
influx_skip_tls: false
influx_token: ""
log_level: info
nodepath: ""
pg_connect: ""
port: "8840"
prometheus_enable: false
shoutrrr_url: "gotify://192.168.0.1:8083/AwQqpAae.rrl5Ob/?title=Unknown host detected&DisableTLS=yes"
theme: sand
timeout: 60
trim_hist: 48
use_db: sqlite

Options

Expand
Key Description Default
-d Path to config dir /data/WatchYourLAN
-n Path to node modules (see below)

Local network only

Expand

By default, this app pulls themes, icons and fonts from the internet. But, in some cases, it may be useful to have an independent from global network setup. I created a separate image with all necessary modules and fonts. Run with Docker:

bash
docker run --name node-bootstrap          \
    -p 8850:8850                          \
    aceberg/node-bootstrap
bash
docker run --name wyl \
	-e "IFACES=$YOURIFACE" \
	-e "TZ=$YOURTIMEZONE" \
	--network="host" \
	-v $DOCKERDATAPATH/wyl:/data/WatchYourLAN \
    aceberg/watchyourlan -n "http://$YOUR_IP:8850"

Or use docker-compose

API & Integrations

Expand

API

Moved to docs/API.md

Integrations

  • ArchLinux (AUR) by gilcu3
  • Python API client by drwahl
  • Umbrel by Jasper
  • YunoHost

Thanks

Expand
  • All go packages listed in dependencies
  • Favicon and logo: Access point icons created by Freepik - Flaticon
  • Bootstrap
  • Themes: Free themes for Bootstrap

Issues· 62 open

View all issuesOpen on GitHub
  • #242

    [QUESTION] Is this project being actively maintained anymore?

    Updated Sep 15, 2026
  • #92

    Multiple IP assign with single MAC address

    Updated Aug 12, 2026
  • #236

    question: what format should the variable TZ be?

    Updated Aug 9, 2026
  • #234

    Container uses 8.8.8.8 for DNS resolution

    Updated Aug 9, 2026
  • #238

    Bundled arp-scan OUI database missing recent vendor entries (e.g. several Apple MAC blocks)

    Updated Aug 9, 2026
  • #233

    Update ieee-oui.txt

    Updated May 25, 2026
  • #229

    Multi Notification is not possible.

    Updated Mar 22, 2026
  • #228

    Free Comment field for devices

    Updated Mar 19, 2026
  • #141

    Scan multiple subnets

    Updated Feb 16, 2026
  • #225

    add nmap scan option

    Updated Jan 23, 2026

> Tags

Goarp-scanarp-scannerintrusion-detectionmonitoring

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 22, 2026
Category安全
PricingOpen source

> Related tools

O
OWASP ZAP
开源 Web 应用安全扫描器
O
owasp-wstg-tracker
Simple web app to track OWASP WSTG security testing progress
H
homebridge-mi-gateway-security
XiaoMi Gateway Security plugin for HomeBridge.