Advertisement
dimmuboy

Untitled

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