bluemax-ngf-add-blacklist-rule
Add new blacklist rule to the BLUEMAX NGF device.
bluemax-ngf-add-blacklist-rule profile=PROFILE ip-ver=[4|6] expiry=TIME-SPAN [src-ip=IP] [src-port=PORT] [dst-ip=IP] [dst-port=PORT] [protocol=TCP|UDP]
- profile=PROFILE
- Connect profile name of BLUEMAX NGF
- ip-ver=[4|6]
- 4 or 6
- expiry=TIME-SPAN
- Specify expiry period using s(second), m(minute), h(hour), d(day), mon(month) time unit. For example,
12h
means block sessions for 12 hours. - src-ip=IP
- Source IP address to be blocked. 'Any' if not specified.
- src-port=PORT
- Source port to be blocked. 'Any' if not specified.
- dst-ip=IP
- Destination IP address to be blocked. 'Any' if not specified.
- dst-port=PORT
- Destination port to be blocked. 'Any' if not specified.
- protocol=TCP|UDP
- TCP or UDP. 'Any' if not specified.
Output Fields
Field | Type | Name | Description |
---|---|---|---|
profile | String | Connect profile | Profile name of BLUEMAX NGF |
id | Integer | Rule ID | ID of the blacklist rule. |
ip_ver | Integer | IP version | e.g. 4 or 6 |
src_ip | IP address | Source IP | Source IP address to be blocked. 'Any' if not specified. |
src_port | Integer | Source port | Source port to be blocked. 'Any' if not specified. |
dst_ip | IP address | Destination IP | Destination IP address to be blocked. 'Any' if not specified. |
dst_port | Integer | Destination port | Destination port to be blocked. 'Any' if not specified. |
protocol | String | Protocol | TCP or UDP. 'Any' if not specified. |
expiry | Date | Expiry date | Block sessions until expiry date. |