Advertisement
Guest User

Untitled

a guest
Aug 31st, 2021
645
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.53 KB | None | 0 0
  1.  
  2. Chain INPUT (policy DROP)
  3. target prot opt source destination
  4. DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
  5. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
  6. ufw-before-logging-input all -- 0.0.0.0/0 0.0.0.0/0
  7. ufw-before-input all -- 0.0.0.0/0 0.0.0.0/0
  8. ufw-after-input all -- 0.0.0.0/0 0.0.0.0/0
  9. ufw-after-logging-input all -- 0.0.0.0/0 0.0.0.0/0
  10. ufw-reject-input all -- 0.0.0.0/0 0.0.0.0/0
  11. ufw-track-input all -- 0.0.0.0/0 0.0.0.0/0
  12.  
  13. Chain FORWARD (policy DROP)
  14. target prot opt source destination
  15. ufw-before-logging-forward all -- 0.0.0.0/0 0.0.0.0/0
  16. ufw-before-forward all -- 0.0.0.0/0 0.0.0.0/0
  17. ufw-after-forward all -- 0.0.0.0/0 0.0.0.0/0
  18. ufw-after-logging-forward all -- 0.0.0.0/0 0.0.0.0/0
  19. ufw-reject-forward all -- 0.0.0.0/0 0.0.0.0/0
  20. ufw-track-forward all -- 0.0.0.0/0 0.0.0.0/0
  21.  
  22. Chain OUTPUT (policy ACCEPT)
  23. target prot opt source destination
  24. ufw-before-logging-output all -- 0.0.0.0/0 0.0.0.0/0
  25. ufw-before-output all -- 0.0.0.0/0 0.0.0.0/0
  26. ufw-after-output all -- 0.0.0.0/0 0.0.0.0/0
  27. ufw-after-logging-output all -- 0.0.0.0/0 0.0.0.0/0
  28. ufw-reject-output all -- 0.0.0.0/0 0.0.0.0/0
  29. ufw-track-output all -- 0.0.0.0/0 0.0.0.0/0
  30.  
  31. Chain ufw-after-forward (1 references)
  32. target prot opt source destination
  33.  
  34. Chain ufw-after-input (1 references)
  35. target prot opt source destination
  36. ufw-skip-to-policy-input udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:137
  37. ufw-skip-to-policy-input udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:138
  38. ufw-skip-to-policy-input tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:139
  39. ufw-skip-to-policy-input tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:445
  40. ufw-skip-to-policy-input udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:67
  41. ufw-skip-to-policy-input udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:68
  42. ufw-skip-to-policy-input all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type BROADCAST
  43.  
  44. Chain ufw-after-logging-forward (1 references)
  45. target prot opt source destination
  46. LOG all -- 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
  47.  
  48. Chain ufw-after-logging-input (1 references)
  49. target prot opt source destination
  50. LOG all -- 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
  51.  
  52. Chain ufw-after-logging-output (1 references)
  53. target prot opt source destination
  54.  
  55. Chain ufw-after-output (1 references)
  56. target prot opt source destination
  57.  
  58. Chain ufw-before-forward (1 references)
  59. target prot opt source destination
  60. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
  61. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 3
  62. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 11
  63. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 12
  64. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 8
  65. ufw-user-forward all -- 0.0.0.0/0 0.0.0.0/0
  66.  
  67. Chain ufw-before-input (1 references)
  68. target prot opt source destination
  69. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  70. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
  71. ufw-logging-deny all -- 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
  72. DROP all -- 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
  73. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 3
  74. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 11
  75. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 12
  76. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 8
  77. ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp spt:67 dpt:68
  78. ufw-not-local all -- 0.0.0.0/0 0.0.0.0/0
  79. ACCEPT udp -- 0.0.0.0/0 224.0.0.251 udp dpt:5353
  80. ACCEPT udp -- 0.0.0.0/0 239.255.255.250 udp dpt:1900
  81. ufw-user-input all -- 0.0.0.0/0 0.0.0.0/0
  82.  
  83. Chain ufw-before-logging-forward (1 references)
  84. target prot opt source destination
  85.  
  86. Chain ufw-before-logging-input (1 references)
  87. target prot opt source destination
  88.  
  89. Chain ufw-before-logging-output (1 references)
  90. target prot opt source destination
  91.  
  92. Chain ufw-before-output (1 references)
  93. target prot opt source destination
  94. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  95. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
  96. ufw-user-output all -- 0.0.0.0/0 0.0.0.0/0
  97.  
  98. Chain ufw-logging-allow (0 references)
  99. target prot opt source destination
  100. LOG all -- 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW ALLOW] "
  101.  
  102. Chain ufw-logging-deny (2 references)
  103. target prot opt source destination
  104. RETURN all -- 0.0.0.0/0 0.0.0.0/0 ctstate INVALID limit: avg 3/min burst 10
  105. LOG all -- 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
  106.  
  107. Chain ufw-not-local (1 references)
  108. target prot opt source destination
  109. RETURN all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type LOCAL
  110. RETURN all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type MULTICAST
  111. RETURN all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type BROADCAST
  112. ufw-logging-deny all -- 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10
  113. DROP all -- 0.0.0.0/0 0.0.0.0/0
  114.  
  115. Chain ufw-reject-forward (1 references)
  116. target prot opt source destination
  117.  
  118. Chain ufw-reject-input (1 references)
  119. target prot opt source destination
  120.  
  121. Chain ufw-reject-output (1 references)
  122. target prot opt source destination
  123.  
  124. Chain ufw-skip-to-policy-forward (0 references)
  125. target prot opt source destination
  126. DROP all -- 0.0.0.0/0 0.0.0.0/0
  127.  
  128. Chain ufw-skip-to-policy-input (7 references)
  129. target prot opt source destination
  130. DROP all -- 0.0.0.0/0 0.0.0.0/0
  131.  
  132. Chain ufw-skip-to-policy-output (0 references)
  133. target prot opt source destination
  134. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  135.  
  136. Chain ufw-track-forward (1 references)
  137. target prot opt source destination
  138.  
  139. Chain ufw-track-input (1 references)
  140. target prot opt source destination
  141.  
  142. Chain ufw-track-output (1 references)
  143. target prot opt source destination
  144. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 ctstate NEW
  145. ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 ctstate NEW
  146.  
  147. Chain ufw-user-forward (1 references)
  148. target prot opt source destination
  149.  
  150. Chain ufw-user-input (1 references)
  151. target prot opt source destination
  152. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 80,443
  153. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
  154.  
  155. Chain ufw-user-limit (0 references)
  156. target prot opt source destination
  157. LOG all -- 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 5 LOG flags 0 level 4 prefix "[UFW LIMIT BLOCK] "
  158. REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
  159.  
  160. Chain ufw-user-limit-accept (0 references)
  161. target prot opt source destination
  162. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  163.  
  164. Chain ufw-user-logging-forward (0 references)
  165. target prot opt source destination
  166.  
  167. Chain ufw-user-logging-input (0 references)
  168. target prot opt source destination
  169.  
  170. Chain ufw-user-logging-output (0 references)
  171. target prot opt source destination
  172.  
  173. Chain ufw-user-output (1 references)
  174. target prot opt source destination
  175.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement