5 lines
122 B
Bash
5 lines
122 B
Bash
#!/bin/sh
|
|
cp -f $(pwd)/rules.nft /etc/nftables.d/firewall.nft
|
|
|
|
echo "Reloading firewall rules..."
|
|
nft -f /etc/nftables.nft |