Depending on what to modify in an existing rule, the command syntax varies.
|
|
|
|
|
|
|
|
|
|
|
|
Variables:
Direction |
Description |
---|---|
in |
Inbound traffic. |
out |
Outbound traffic. |
Option |
Description |
---|---|
accept |
Accepts traffic from/to the specified IP address(es). |
drop |
Discards traffic from/to the specified IP address(es), without sending any failure notification to the source or destination host. |
reject |
Discards traffic from/to the specified IP address(es), and an ICMP message is sent to the source or destination host for failure notification. |