Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.53 KB | None | 0 0
  1. customer@ubuntu:~$ sudo iptables -L
  2. [sudo] password for customer:
  3. Chain INPUT (policy DROP)
  4. target prot opt source destination
  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 DROP)
  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 ufw-after-forward (1 references)
  31. target prot opt source destination
  32.  
  33. Chain ufw-after-input (1 references)
  34. target prot opt source destination
  35. ufw-skip-to-policy-input udp -- anywhere anywhere udp dpt:netbios-ns
  36. ufw-skip-to-policy-input udp -- anywhere anywhere udp dpt:netbios-dgm
  37. ufw-skip-to-policy-input tcp -- anywhere anywhere tcp dpt:netbios-ssn
  38. ufw-skip-to-policy-input tcp -- anywhere anywhere tcp dpt:microsoft-ds
  39. ufw-skip-to-policy-input udp -- anywhere anywhere udp dpt:bootps
  40. ufw-skip-to-policy-input udp -- anywhere anywhere udp dpt:bootpc
  41. ufw-skip-to-policy-input all -- anywhere anywhere ADD RTYPE match dst-type BROADCAST
  42.  
  43. Chain ufw-after-logging-forward (1 references)
  44. target prot opt source destination
  45. LOG all -- anywhere anywhere limit: avg 3/min b urst 10 LOG level warning prefix "[UFW BLOCK] "
  46.  
  47. Chain ufw-after-logging-input (1 references)
  48. target prot opt source destination
  49. LOG all -- anywhere anywhere limit: avg 3/min b urst 10 LOG level warning prefix "[UFW BLOCK] "
  50.  
  51. Chain ufw-after-logging-output (1 references)
  52. target prot opt source destination
  53.  
  54. Chain ufw-after-output (1 references)
  55. target prot opt source destination
  56.  
  57. Chain ufw-before-forward (1 references)
  58. target prot opt source destination
  59. ACCEPT all -- anywhere anywhere ctstate RELATED,ES TABLISHED
  60. ACCEPT icmp -- anywhere anywhere icmp destination-u nreachable
  61. ACCEPT icmp -- anywhere anywhere icmp source-quench
  62. ACCEPT icmp -- anywhere anywhere icmp time-exceeded
  63. ACCEPT icmp -- anywhere anywhere icmp parameter-pro blem
  64. ACCEPT icmp -- anywhere anywhere icmp echo-request
  65. ufw-user-forward all -- anywhere anywhere
  66.  
  67. Chain ufw-before-input (1 references)
  68. target prot opt source destination
  69. ACCEPT all -- anywhere anywhere
  70. ACCEPT all -- anywhere anywhere ctstate RELATED,ES TABLISHED
  71. ufw-logging-deny all -- anywhere anywhere ctstate INV ALID
  72. DROP all -- anywhere anywhere ctstate INVALID
  73. ACCEPT icmp -- anywhere anywhere icmp destination-u nreachable
  74. ACCEPT icmp -- anywhere anywhere icmp source-quench
  75. ACCEPT icmp -- anywhere anywhere icmp time-exceeded
  76. ACCEPT icmp -- anywhere anywhere icmp parameter-pro blem
  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,ES TABLISHED
  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 b urst 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 li mit: avg 3/min burst 10
  106. LOG all -- anywhere anywhere limit: avg 3/min b urst 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. DROP all -- anywhere anywhere
  128.  
  129. Chain ufw-skip-to-policy-input (7 references)
  130. target prot opt source destination
  131. DROP all -- anywhere anywhere
  132.  
  133. Chain ufw-skip-to-policy-output (0 references)
  134. target prot opt source destination
  135. ACCEPT all -- anywhere anywhere
  136.  
  137. Chain ufw-track-forward (1 references)
  138. target prot opt source destination
  139.  
  140. Chain ufw-track-input (1 references)
  141. target prot opt source destination
  142.  
  143. Chain ufw-track-output (1 references)
  144. target prot opt source destination
  145. ACCEPT tcp -- anywhere anywhere ctstate NEW
  146. ACCEPT udp -- anywhere anywhere ctstate NEW
  147.  
  148. Chain ufw-user-forward (1 references)
  149. target prot opt source destination
  150.  
  151. Chain ufw-user-input (1 references)
  152. target prot opt source destination
  153. ACCEPT tcp -- anywhere anywhere tcp dpt:http
  154. ACCEPT udp -- anywhere anywhere udp dpt:http
  155. ACCEPT tcp -- anywhere anywhere tcp dpt:ssh /* 'da pp_OpenSSH' */
  156. ACCEPT tcp -- anywhere anywhere multiport dports h ttp,https /* 'dapp_Apache%20Full' */
  157. ACCEPT tcp -- anywhere anywhere tcp dpt:30120
  158. ACCEPT udp -- anywhere anywhere udp dpt:30120
  159. ACCEPT udp -- anywhere anywhere udp dpt:30110
  160. ACCEPT tcp -- anywhere anywhere tcp dpt:30110
  161. ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
  162. ACCEPT udp -- anywhere anywhere udp dpt:ssh
  163. ACCEPT tcp -- anywhere anywhere tcp dpt:30110
  164. ACCEPT udp -- anywhere anywhere udp dpt:30110
  165.  
  166. Chain ufw-user-limit (0 references)
  167. target prot opt source destination
  168. LOG all -- anywhere anywhere limit: avg 3/min b urst 5 LOG level warning prefix "[UFW LIMIT BLOCK] "
  169. REJECT all -- anywhere anywhere reject-with icmp-p ort-unreachable
  170.  
  171. Chain ufw-user-limit-accept (0 references)
  172. target prot opt source destination
  173. ACCEPT all -- anywhere anywhere
  174.  
  175. Chain ufw-user-logging-forward (0 references)
  176. target prot opt source destination
  177.  
  178. Chain ufw-user-logging-input (0 references)
  179. target prot opt source destination
  180.  
  181. Chain ufw-user-logging-output (0 references)
  182. target prot opt source destination
  183.  
  184. Chain ufw-user-output (1 references)
  185. target prot opt source destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement