semanage is used to configure certain elements of SELinux policy without requiring modification to or recompilation from policy sources. semanage port controls the port number to port type definitions.
Do not print heading when listing the specified object type
.TP
.I\-N,\-\-noreload
Do not reload policy after commit
.TP
.I\-SSTORE,\-\-storeSTORE
Select an alternate SELinux Policy Store to manage
.TP
.I\-C,\-\-locallist
List local customizations
.TP
.I\-a,\-\-add
Add a record of the specified object type
.TP
.I\-d,\-\-delete
Delete a record of the specified object type
.TP
.I\-m,\-\-modify
Modify a record of the specified object type
.TP
.I\-l,\-\-list
List records of the specified object type
.TP
.I\-E,\-\-extract
Extract customizable commands, for use within a transaction
.TP
.I\-D,\-\-deleteall
Remove all local customizations
.TP
.I\-tTYPE,\-\-typeTYPE
SELinux type for the object
.TP
.I\-rRANGE,\-\-rangeRANGE
MLS/MCS Security Range (MLS/MCS Systems only) SELinux Range for SELinux login mapping defaults to the SELinux user record range. SELinux Range for SELinux user defaults to s0.
.TP
.I\-pPROTO,\-\-protoPROTO
Protocol for the specified port (tcp|udp) or internet protocol version for the specified node (ipv4|ipv6).
.SHEXAMPLE
.nf
List all port defitions
# semanage port \-l
Allow Apache to listen on tcp port 81
# semanage port \-a \-t http_port_t \-p tcp 81
Allow sshd to listen on tcp port 8991
# semanage port \-a \-t ssh_port_t \-p tcp 8991
.SH"SEE ALSO"
.Bselinux(8),
.Bsemanage(8)
.SH"AUTHOR"
This man page was written by Daniel Walsh <dwalsh@redhat.com>