mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
added cam
This commit is contained in:
parent
95f2454465
commit
247b8e2066
3 changed files with 10 additions and 7 deletions
|
|
@ -125,9 +125,11 @@
|
|||
# Block specific camera MACs from forwarding (instant DROP, no timeouts)
|
||||
# Add each camera MAC here as you set them up
|
||||
iptables -A FORWARD -m mac --mac-source 00:1f:54:c2:d1:b1 -j DROP # parking_lot
|
||||
iptables -A FORWARD -m mac --mac-source 00:1f:54:b2:9b:1d -j DROP # living_room/kitchen
|
||||
'';
|
||||
extraStopCommands = ''
|
||||
iptables -D FORWARD -m mac --mac-source 00:1f:54:c2:d1:b1 -j DROP || true
|
||||
iptables -D FORWARD -m mac --mac-source 00:1f:54:b2:9b:1d -j DROP || true
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
@ -156,6 +158,7 @@
|
|||
# Static DHCP reservations for cameras
|
||||
dhcp-host = [
|
||||
"00:1f:54:c2:d1:b1,192.168.1.194,parking_lot"
|
||||
"00:1f:54:b2:9b:1d,192.168.1.147,living_room_kitchen"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue