mirror of
https://github.com/jmcorgan/fips.git
synced 2026-07-30 19:46:15 +00:00
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.
9 lines
292 B
Bash
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
|