--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "virtfusion_server_firewall Data Source - virtfusion" subcategory: "" description: |- Use this data source to read firewall information for a VirtFusion server. --- # virtfusion_server_firewall (Data Source) Use this data source to read firewall information for a VirtFusion server. ## Schema ### Required - `server_id` (Number) The server ID to read firewall information for. ### Optional - `interface_name` (String) The network interface name. Defaults to `eth0`. ### Read-Only - `enabled` (Boolean) Whether the firewall is enabled. - `rules` (Attributes List) The firewall rules. (see [below for nested schema](#nestedatt--rules)) ### Nested Schema for `rules` Read-Only: - `action` (String) The action for the rule (e.g. `accept`, `drop`). - `direction` (String) The direction for the rule (e.g. `in`, `out`). - `ip` (String) The IP address or CIDR for the rule. - `port` (String) The port or port range for the rule. - `protocol` (String) The protocol for the rule (e.g. `tcp`, `udp`).