semanage-port
Verified for current stable LTS
Semanage Port Commands
Semanage Port command syntax with verified terminal examples.
Commands
5 commands for Semanage Port
semanage-port Operations
Semanage Port Command: Add User Defined Rule Port Protocol Pair
sudo semanage port -a -t <ssh_port_t> -p <tcp> <22000> semanage-port HTTP
Semanage Port Command: Add User Defined Rule Port Protocol Range Pair
sudo semanage port -a -t <http_port_t> -p <tcp> <80-88> semanage-port Operations
Semanage Port Command: Delete User Defined Rule Port Protocol Pair
sudo semanage port -d -p <udp> <11940> semanage-port Operations
Semanage Port Command: List All Port Labeling Rules
sudo semanage port -l semanage-port Operations
Semanage Port Command: List User Defined Port Labeling Rules No Headings
sudo semanage port -l -C -n Suggest a Semanage Port Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Semanage Port workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.