Advertisement
Guest User

Untitled

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