subcategory |
---|
Additional IP |
Use this resource to manage a rule on an IP firewall.
resource "ovh_ip_firewall_rule" "myfirewallrule" {
ip = "XXXXXX"
ip_on_firewall = "XXXXXX"
sequence = 0
action = "deny"
protocol = "tcp"
}
ip
- (Required) The IP or the CIDRip_on_firewall
- (Required) IPv4 addressaction
- (Required) Possible values for action (deny|permit)protocol
- (Required) Possible values for protocol (ah|esp|gre|icmp|ipv4|tcp|udp)sequence
- (Required) Rule position in the rules arraydestination_port
- Destination port for your rule. Only with TCP/UDP protocolfragments
- Fragments optionsource
- IPv4 CIDR notation (e.g., 192.0.2.0/24)tcp_option
- TCP option on your rule (syn|established)
ip
- The IP or the CIDRip_on_firewall
- IPv4 addressstate
- Current state of your ruleaction
- Possible values for action (deny|permit)creation_date
- Creation date of the ruledestination
- Destination IP for your ruledestination_port
- Destination port for your rule. Only with TCP/UDP protocoldestination_port_desc
- String description of fielddestination_port
fragments
- Fragments optionprotocol
- Possible values for protocol (ah|esp|gre|icmp|ipv4|tcp|udp)rule
- Description of the rulesequence
- Rule position in the rules arraysource
- IPv4 CIDR notation (e.g., 192.0.2.0/24)source_port
- Source port for your rule. Only with TCP/UDP protocolsource_port_desc
- String description of fieldsource_port
tcp_option
- TCP option on your rule (syn|established)