diff --git a/pages/linux/semanage-port.md b/pages/linux/semanage-port.md index cb7981bfcb3df6..e9263ac6907e07 100644 --- a/pages/linux/semanage-port.md +++ b/pages/linux/semanage-port.md @@ -16,6 +16,10 @@ `sudo semanage port {{-a|--add}} {{-t|--type}} {{ssh_port_t}} {{-p|--proto}} {{tcp}} {{22000}}` +- Add a user-defined rule that assigns a label to a protocol-port-range pair: + +`sudo semanage port {{-a|--add}} {{-t|--type}} {{http_port_t}} {{-p|--proto}} {{tcp}} {{80-88}}` + - Delete a user-defined rule using its protocol-port pair: `sudo semanage port {{-d|--delete}} {{-p|--proto}} {{udp}} {{11940}}`