A minimal API server to remotely control iptables/ebtables.
Implement the smallest amount of code possible to enable a client to perform basic firewall functions:
- block inbound MAC addresses
- send out an WoL packet on demand
POST /api/inet4?hostname={string}&action=block
POST /api/inet4?hostname={string}&action=unblock
GET /api/inet4/blocked
GET /api/ethernet/wol?hwaddr={string}[&password={password}]
GET /api/ethernet/awake?hwaddr={string}