blob: 92d3cb276453af964984db7c1706ae0f17618093 (
plain)
1
2
3
4
5
6
|
#!/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
|