Advertisement
Guest User

Untitled

a guest
Jun 15th, 2024
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. user@node-C:~$ firewall-cmd --get-active-zones
  2. docker
  3. interfaces: br-f0cdd0669e2f br-f871835d2c04 docker0
  4. public
  5. interfaces: ens3
  6.  
  7. user@node-C:~$ firewall-cmd --get-default-zone
  8. public
  9.  
  10. user@node-C:~$ firewall-cmd --list-all-zones
  11. block
  12. target: %%REJECT%%
  13. icmp-block-inversion: no
  14. interfaces:
  15. sources:
  16. services:
  17. ports:
  18. protocols:
  19. forward: yes
  20. masquerade: no
  21. forward-ports:
  22. source-ports:
  23. icmp-blocks:
  24. rich rules:
  25.  
  26. dmz
  27. target: default
  28. icmp-block-inversion: no
  29. interfaces:
  30. sources:
  31. services: ssh
  32. ports:
  33. protocols:
  34. forward: yes
  35. masquerade: no
  36. forward-ports:
  37. source-ports:
  38. icmp-blocks:
  39. rich rules:
  40.  
  41. docker (active)
  42. target: ACCEPT
  43. icmp-block-inversion: no
  44. interfaces: br-f0cdd0669e2f br-f871835d2c04 docker0
  45. sources:
  46. services:
  47. ports:
  48. protocols:
  49. forward: yes
  50. masquerade: no
  51. forward-ports:
  52. source-ports:
  53. icmp-blocks:
  54. rich rules:
  55.  
  56. drop
  57. target: DROP
  58. icmp-block-inversion: no
  59. interfaces:
  60. sources:
  61. services:
  62. ports:
  63. protocols:
  64. forward: yes
  65. masquerade: no
  66. forward-ports:
  67. source-ports:
  68. icmp-blocks:
  69. rich rules:
  70.  
  71. external
  72. target: default
  73. icmp-block-inversion: no
  74. interfaces:
  75. sources:
  76. services: ssh
  77. ports:
  78. protocols:
  79. forward: yes
  80. masquerade: yes
  81. forward-ports:
  82. source-ports:
  83. icmp-blocks:
  84. rich rules:
  85.  
  86. home
  87. target: default
  88. icmp-block-inversion: no
  89. interfaces:
  90. sources:
  91. services: dhcpv6-client mdns samba-client ssh
  92. ports:
  93. protocols:
  94. forward: yes
  95. masquerade: no
  96. forward-ports:
  97. source-ports:
  98. icmp-blocks:
  99. rich rules:
  100.  
  101. internal
  102. target: default
  103. icmp-block-inversion: no
  104. interfaces:
  105. sources:
  106. services: dhcpv6-client mdns samba-client ssh
  107. ports:
  108. protocols:
  109. forward: yes
  110. masquerade: no
  111. forward-ports:
  112. source-ports:
  113. icmp-blocks:
  114. rich rules:
  115.  
  116. public (active)
  117. target: default
  118. icmp-block-inversion: no
  119. interfaces: ens3
  120. sources:
  121. services: dhcpv6-client ipsec ssh
  122. ports:
  123. protocols:
  124. forward: yes
  125. masquerade: no
  126. forward-ports:
  127. source-ports:
  128. icmp-blocks:
  129. rich rules:
  130.  
  131. trusted
  132. target: ACCEPT
  133. icmp-block-inversion: no
  134. interfaces:
  135. sources:
  136. services:
  137. ports:
  138. protocols:
  139. forward: yes
  140. masquerade: no
  141. forward-ports:
  142. source-ports:
  143. icmp-blocks:
  144. rich rules:
  145.  
  146. work
  147. target: default
  148. icmp-block-inversion: no
  149. interfaces:
  150. sources:
  151. services: dhcpv6-client ssh
  152. ports:
  153. protocols:
  154. forward: yes
  155. masquerade: no
  156. forward-ports:
  157. source-ports:
  158. icmp-blocks:
  159. rich rules:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement