Firewall

This guide explains how to troubleshoot firewall related aspects of the Anapaya appliances.

Current configuration and state

The current firewall configuration can be retrieved from the appliance using the following command:

appliance-cli get config -f body.config.firewall

To get the current firewall state of the appliance, use the following commands:

# List all tables and counters
appliance-cli get firewall

# List input chain
appliance-cli get firewall/tables/appliance/chains/default_input

# List forward chain
appliance-cli get firewall/tables/appliance/chains/default_forward