v-change-firewall-rule

About v-change-firewall-rule
The function is used for changing an existing rule. It replaces the rule and keeps the ID.
Syntax
v-change-firewall-rule RULE ACTION IP PORT [PROTOCOL] [COMMENT]

Options
Parameters Parameters Description
RULE ID of the rule to update
ACTION ACCEPT or DENY traffic
IP Source address, 0.0.0.0/0 means from everywhere
PORT Port number
[PROTOCOL] TCP or UDP
[COMMENT] Descriptive comment about the firewall rule [optional]

Examples

v-change-firewall-rule 2 ACCEPT 0.0.0.0/0 161 UDP snmp




Notes




Related Commands




Links
GitHub


1 comment for “v-change-firewall-rule

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.