Skip to content

DaCHack/fritzpcap-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FritzPCAP-docker

docker-hub Actions Status

Self-hosted home network traffic monitoring with ntopng and a Fritz!Box

Thanks to Davide Quaranta for coming up with the idea and basically preparing all scripts ready to use. I only provided the docker container.

Image on Docker Hub

https://hub.docker.com/r/dachack/fritzpcap

Sources in Github

https://github.com/DaCHack/fritzpcap-docker

Docker-compose

Either use the container standalone or together with ntopng as in the example below:

services:
  ntopng:
    container_name: ntopng
    image: ntop/ntopng:stable
    volumes:
      - /opt/appdata/ntopng/data:/var/lib/ntopng
      - /opt/appdata/ntopng/pcap:/pcap
      - /opt/appdata/ntopng/ntopng.conf:/ntopng.conf:ro
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    environment:
      - TZ=Europe/Berlin
    command:
      - "/ntopng.conf"
    ports:
      - 3000
    restart: unless-stopped
    depends_on:
      - fritzpcap

  fritzpcap:
    build: ./fritzpcap
    environment:
      - FRITZIP=http://fritz.box
      - FRITZUSER={{ fritz.username }}
      - FRITZPWD={{ fritz.password }}
    volumes:
      - /opt/appdata/ntopng/pcap:/pcap
    restart: unless-stopped

Configure ntopng via /ntopng.conf

-i=/pcap/ath0
-i=/pcap/lan
--local-networks="192.168.1.0/24"
--community

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published