#!/bin/bash nft add table inet filter nft add chain inet filter input { type filter hook input priority 0 \; } nft add rule inet filter input iifname "wwan0" drop echo 'Blocking wwan0 in commissioning mode' nft -a list table inet filter