This configuration template is used to manage the firewall rules of AGE's Gateway. The configuration root controller of this template is called age_gateway. The value supported by this controller is also a configuration object that consists of the following fields: •firewall_rules - This key value contains a list of firewall definitions - tuples in format {Port, Contrainsts}.
This controller supports the following actions: •add_tcp_rules - Creates new TCP/IP rules specifies by the firewall definitions. Refer to add_tcp_rule/3. •add_udp_rules - Creates new UDP rules specifies by the firewall definitions. Refer to add_udp_rule/3. •add_sctp_rules - Creates new SCTP rules specifies by the firewall definitions. Refer to add_sctp_rule/3. •delete_rules - Deletes rules by port specified by the firewall definitions. Refer to delete_rule/1. •enable_rules - Enabled rules by port specified by the firewall definitions. Refer to enable_rule/1. •disable_rules - Disabled rules by port specified by the firewall definitions. Refer to disable_rule/1.
Some additional notes: ✓This configuration template can be used in configuration collection with other templates. ✓Multiple actions can be executed in priority selected by the specified order within the actions list. ✓Be aware that the actions can be duplicated in the list, so use them wisely. |
#{ |