Firewall Rule

Nom de la ressource firewall rule
URL http://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 several hosts, separated by spaces. You can comment a line with the # character. Hosts examples: 192.0.2.38, 192.0.2.0/24 or 2001:DB8::1.

ports

default value: null

string

Please specify one or several port numbers, separated by spaces. You can also indicate consecutive ports, e.g. : 10000:10010.

ip_version

default value: ANY

string

IP version

  • 4: Ipv4
  • 6: IPv6
  • ANY: Ipv4/Ipv6