← Browse
iptables-rules-apply
DestructiveReset and apply a complete iptables ruleset for a Linux host
- Path
bash/network/iptables_rules.sh- Language
- bash
- Category
bash/network- Version
- 1.0.0
- Size
- 1.2 KB
- Last modified
- May 23, 2026, 08:24 PM
Required binaries
iptables
Tags
iptablesfirewalllinuxnetworksecurity
Run locally
# from the repo root bash bash/network/iptables_rules.sh # or via the ops CLI ops run bash/network/iptables_rules.sh
AI operator plan
idleIf the deployment sets PLATPHORM_PROTECT=1, Vercel Authentication is the protection layer and this field may be left blank.
Run in sandbox
readyRequires explicit destructive-run confirmation.
Runs in an isolated Vercel Sandbox (Firecracker microVM, 5 min max, no persistent state). Runs require PLATPHORM_API_KEY unless the deployment sets PLATPHORM_PROTECT=1, where Vercel Authentication is the protection layer. The key stays in component state and is never persisted by this UI.
Related scripts
host_checker.pyno frontmatterNeeds frontmatter
bash/network/host_checker.py·python
block_daemon_wrapper.shno frontmatterNeeds frontmatter
bash/network/block_daemon_wrapper.sh·bash
block_ip_daemon.shno frontmatterNeeds frontmatter
bash/network/block_ip_daemon.sh·bash
check_carp.shno frontmatterNeeds frontmatter
bash/network/check_carp.sh·bash