Which semanage port type should be used for gelf?


(Charles Deng) #1

For giving the port access permission to nginx for proxying gelf by the following commands:

semanage port -a -t <port_type> -p udp 12201
semanage port -a -t <port_type> -p tcp 12202

which <port_type> should be used for gelf over udp and gelf over tcp ?


(Jochen) #2

You can check the available SELinux port types with the following commands:

# semanage port -l

See also:


(Charles Deng) #3

do you mean use any of udp port types exists for udp and any of tcp port types exists for tcp should be ok ?


(Jochen) #4

No, please read the referenced blog post.


(Charles Deng) #5

I have no idea how it help me… when i try to added a permissive domain and failed. maybe i need a fully go through semange to see how it works.


(system) #6

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.