close
Close a port on the firewall. A port range may be specified with an optional protocol as well ( TCP is default ). Example values: 8000-9000/udp
, 9000
.
Usage
close [FLAGS] [port]
Flags
Arg | Environment Variable | Description |
---|---|---|
-A , --all | Remove all port rules |
Positionals
Arg | Environment Variable | Description |
---|---|---|
<port> | The port to close |