Firewall Rule

Nom de la ressource firewall rule
URL https://api.alwaysdata.com/v1/firewall
Description Règles de firewall
Operations create, read, update, delete, list

Fields

Name Details
id

readonly: YES

integer

Resource ID.

href

readonly: YES

string

Resource location.

protocol

default value: ANY

string

Protocol

  • TCP
  • UDP
  • ANY

action string

Type

  • ACCEPT
  • DROP
  • REJECT

direction string

Direction

  • IN: Ingoing
  • OUT: Outgoing

hosts

default value: null

string

Please specify one or more hosts, separated by spaces. You can comment a line with the character #. Examples of hosts: 192.0.2.38, 192.0.2.0/24, 2001:DB8::1.

ports

default value: null

string

Please specify one or more port numbers, separated by spaces. You can also indicate consecutive ports, for example: 10000:10010.

ip_version

default value: ANY

string

IP version

  • 4: IPv4
  • 6: IPv6
  • ANY: IPv4/IPv6

annotation string

L'annotation est facultative et apparaitra dans le listing.