Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 594 Bytes

README.MD

File metadata and controls

15 lines (13 loc) · 594 Bytes

On the docker host:

ip link set <interface> promisc on
sudo sysctl net.ipv4.conf.all.forwarding=1
sudo iptables -P FORWARD ACCEPT
docker network create -d macvlan --subnet=192.168.1.0/24 --gateway=192.168.1.1 --ip-range=192.168.1.224/27 --aux-address 'host=192.168.1.224' -o parent=<interface> my_net

# For connecting host to macvlan
sudo ip link add host_to_macvlan link eth0 type macvlan mode bridge
sudo ip addr add 192.168.1.224/27 dev host_to_macvlan

TODO

  • remove janus and add go2rtc
  • the script that collects alarms from the camera doesn't restart when camera goes offline