This directory contains example scripts demonstrating common ways to use the Agentic Workflow Firewall (awf).
- Docker running on your machine
awfinstalled (see installation instructions)sudoaccess (required for iptables manipulation)
| File | Description |
|---|---|
| basic-curl.sh | Simple HTTP request through the firewall |
| github-copilot.sh | Using GitHub Copilot CLI with the firewall |
| using-domains-file.sh | Using a file to specify allowed domains |
| blocked-domains.sh | Blocking specific domains with allowlist/blocklist |
| debugging.sh | Debug mode with log inspection |
| domains.txt | Example domain allowlist file |
Each example is a standalone shell script. Run with:
# Make executable (if needed)
chmod +x examples/*.sh
# Run an example
./examples/basic-curl.shNote: Most examples require
sudofor iptables manipulation. The scripts will prompt for sudo access if needed.
AWF automatically matches subdomains. For example:
github.commatchesgithub.com,api.github.com,raw.githubusercontent.com, etc.
See domains.txt for domain file format examples.