Advertisement
Guest User

Untitled

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