Advertisement
JamesTheAwesomeDude

sudo iptables --list

Apr 26th, 2013
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.18 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. LOG all -- anywhere anywhere limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "
  43.  
  44. Chain ufw-after-logging-input (1 references)
  45. target prot opt source destination
  46. LOG all -- anywhere anywhere limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "
  47.  
  48. Chain ufw-after-logging-output (1 references)
  49. target prot opt source destination
  50.  
  51. Chain ufw-after-output (1 references)
  52. target prot opt source destination
  53.  
  54. Chain ufw-before-forward (1 references)
  55. target prot opt source destination
  56. ufw-user-forward all -- anywhere anywhere
  57.  
  58. Chain ufw-before-input (1 references)
  59. target prot opt source destination
  60. ACCEPT all -- anywhere anywhere
  61. ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
  62. ufw-logging-deny all -- anywhere anywhere state INVALID
  63. DROP all -- anywhere anywhere state INVALID
  64. ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
  65. ACCEPT icmp -- anywhere anywhere icmp source-quench
  66. ACCEPT icmp -- anywhere anywhere icmp time-exceeded
  67. ACCEPT icmp -- anywhere anywhere icmp parameter-problem
  68. ACCEPT icmp -- anywhere anywhere icmp echo-request
  69. ACCEPT udp -- anywhere anywhere udp spt:bootps dpt:bootpc
  70. ufw-not-local all -- anywhere anywhere
  71. ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
  72. ACCEPT udp -- anywhere 239.255.255.250 udp dpt:1900
  73. ufw-user-input all -- anywhere anywhere
  74.  
  75. Chain ufw-before-logging-forward (1 references)
  76. target prot opt source destination
  77.  
  78. Chain ufw-before-logging-input (1 references)
  79. target prot opt source destination
  80.  
  81. Chain ufw-before-logging-output (1 references)
  82. target prot opt source destination
  83.  
  84. Chain ufw-before-output (1 references)
  85. target prot opt source destination
  86. ACCEPT all -- anywhere anywhere
  87. ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
  88. ufw-user-output all -- anywhere anywhere
  89.  
  90. Chain ufw-logging-allow (0 references)
  91. target prot opt source destination
  92. LOG all -- anywhere anywhere limit: avg 3/min burst 10 LOG level warning prefix "[UFW ALLOW] "
  93.  
  94. Chain ufw-logging-deny (2 references)
  95. target prot opt source destination
  96. RETURN all -- anywhere anywhere state INVALID limit: avg 3/min burst 10
  97. LOG all -- anywhere anywhere limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "
  98.  
  99. Chain ufw-not-local (1 references)
  100. target prot opt source destination
  101. RETURN all -- anywhere anywhere ADDRTYPE match dst-type LOCAL
  102. RETURN all -- anywhere anywhere ADDRTYPE match dst-type MULTICAST
  103. RETURN all -- anywhere anywhere ADDRTYPE match dst-type BROADCAST
  104. ufw-logging-deny all -- anywhere anywhere limit: avg 3/min burst 10
  105. DROP all -- anywhere anywhere
  106.  
  107. Chain ufw-reject-forward (1 references)
  108. target prot opt source destination
  109.  
  110. Chain ufw-reject-input (1 references)
  111. target prot opt source destination
  112.  
  113. Chain ufw-reject-output (1 references)
  114. target prot opt source destination
  115.  
  116. Chain ufw-skip-to-policy-forward (0 references)
  117. target prot opt source destination
  118. DROP all -- anywhere anywhere
  119.  
  120. Chain ufw-skip-to-policy-input (7 references)
  121. target prot opt source destination
  122. DROP all -- anywhere anywhere
  123.  
  124. Chain ufw-skip-to-policy-output (0 references)
  125. target prot opt source destination
  126. ACCEPT all -- anywhere anywhere
  127.  
  128. Chain ufw-track-input (1 references)
  129. target prot opt source destination
  130.  
  131. Chain ufw-track-output (1 references)
  132. target prot opt source destination
  133. ACCEPT tcp -- anywhere anywhere state NEW
  134. ACCEPT udp -- anywhere anywhere state NEW
  135.  
  136. Chain ufw-user-forward (1 references)
  137. target prot opt source destination
  138.  
  139. Chain ufw-user-input (1 references)
  140. target prot opt source destination
  141. ACCEPT tcp -- anywhere anywhere tcp dpt:http
  142. ACCEPT udp -- anywhere anywhere udp dpt:http
  143. ACCEPT tcp -- anywhere anywhere tcp dpt:65432
  144. ACCEPT udp -- anywhere anywhere udp dpt:65432
  145. ACCEPT tcp -- anywhere anywhere tcp dpt:9001
  146. ACCEPT udp -- anywhere anywhere udp dpt:9001
  147. ACCEPT tcp -- anywhere anywhere tcp dpt:9030
  148. ACCEPT udp -- anywhere anywhere udp dpt:9030
  149. ACCEPT tcp -- anywhere anywhere tcp dpt:http-alt
  150. ACCEPT udp -- anywhere anywhere udp dpt:http-alt
  151.  
  152. Chain ufw-user-limit (0 references)
  153. target prot opt source destination
  154. LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning prefix "[UFW LIMIT BLOCK] "
  155. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  156.  
  157. Chain ufw-user-limit-accept (0 references)
  158. target prot opt source destination
  159. ACCEPT all -- anywhere anywhere
  160.  
  161. Chain ufw-user-logging-forward (0 references)
  162. target prot opt source destination
  163.  
  164. Chain ufw-user-logging-input (0 references)
  165. target prot opt source destination
  166.  
  167. Chain ufw-user-logging-output (0 references)
  168. target prot opt source destination
  169.  
  170. Chain ufw-user-output (1 references)
  171. target prot opt source destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement