Files
fips/packaging/openwrt-ipk/files/etc/hotplug.d/net/99-fips
T
Origami74 c8b7459fbc Add sidecar-nostr-relay example and fix openwrt CI path
Add a complete example running a strfry Nostr relay exclusively over
the FIPS mesh using the sidecar pattern. Includes Docker Compose
stack, network isolation via iptables, .fips DNS resolution, nak CLI,
build script with cross-compilation support, and documentation.

Also fix the package-openwrt.yml workflow path to match the
openwrt → openwrt-ipk directory rename.
2026-03-19 16:23:13 +00:00

9 lines
292 B
Bash

#!/bin/sh
# FIPS hotplug — apply firewall rules when the FIPS TUN interface comes up.
# The kernel fires net hotplug events for every interface including TUN devices.
[ "$INTERFACE" = "fips0" ] || exit 0
[ "$ACTION" = "add" ] || [ "$ACTION" = "register" ] || exit 0
/etc/fips/firewall.sh