Armor configuration templates
Each armor covers one protocol. To control greylist behaviour for both TCP and UDP on the same prefix, create two armors — one per protocol — with the same ip and prefix values.
UDP armor — example: game server
ip
"1.2.3.4"
The net ID part of the subnet (first IP)
prefix
32
The CIDR part of the subnet
description
"Client gameserver"
An optional description text
tenant-id
42
The client's tenant ID
enabled
true
Enables the armor (i.e. routes traffic through Warden)
prevention-mode
true
Allows Warden to actually drop packets
ports
["1024-2048", "4096"]
Destination ports open to greylisted traffic. Whitelisted sources bypass this restriction.
protocol
"udp"
The protocol this armor applies to. Each protocol requires a separate armor.
tcp-established
false
Allow the protected IP to initiate connections to the Internet
tcp-gl-pps
0
Per-destination-IP PPS limit for greylisted TCP traffic. No effect in a UDP armor.
udp-gl-pps
10000
Per-destination-IP PPS limit for greylisted UDP traffic. No effect in a TCP armor.
dpi-profile
""
(UDP only) sets a bytematching profile
reject-src-port-1024
true
Rejects packets if the source port is less than 1024
TCP armor — example: web server
ip
"1.2.3.4"
The net ID part of the subnet (first IP)
prefix
32
The CIDR part of the subnet
description
"Client web server"
An optional description text
tenant-id
42
The client's tenant ID
enabled
true
Enables the armor (i.e. routes traffic through Warden)
prevention-mode
true
Allows Warden to actually drop packets
ports
["80", "443"]
Destination ports open to greylisted traffic. Whitelisted sources bypass this restriction.
protocol
"tcp"
The protocol this armor applies to. Each protocol requires a separate armor.
tcp-established
true
Allow the protected IP to initiate connections to the Internet
tcp-gl-pps
10000
Per-destination-IP PPS limit for greylisted TCP traffic. No effect in a UDP armor.
udp-gl-pps
0
Per-destination-IP PPS limit for greylisted UDP traffic. No effect in a TCP armor.
dpi-profile
""
(UDP only) sets a bytematching profile
reject-src-port-1024
true
Rejects packets if the source port is less than 1024
API reference documentation
For more information about our API documentation, click the link below.
Last updated
Was this helpful?