Advertisement
Guest User

iptables -L -v -n

a guest
Oct 30th, 2016
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.25 KB | None | 0 0
  1. $ sudo iptables -L -v -n
  2.  
  3. Chain INPUT (policy DROP 0 packets, 0 bytes)
  4. pkts bytes target prot opt in out source destination
  5. 3670 529K ufw-before-logging-input all -- * * 0.0.0.0/0 0.0.0.0/0
  6. 3670 529K ufw-before-input all -- * * 0.0.0.0/0 0.0.0.0/0
  7. 10 1700 ufw-after-input all -- * * 0.0.0.0/0 0.0.0.0/0
  8. 0 0 ufw-after-logging-input all -- * * 0.0.0.0/0 0.0.0.0/0
  9. 0 0 ufw-reject-input all -- * * 0.0.0.0/0 0.0.0.0/0
  10. 0 0 ufw-track-input all -- * * 0.0.0.0/0 0.0.0.0/0
  11.  
  12. Chain FORWARD (policy ACCEPT 5 packets, 260 bytes)
  13. pkts bytes target prot opt in out source destination
  14. 2732 1330K ufw-before-logging-forward all -- * * 0.0.0.0/0 0.0.0.0/0
  15. 2732 1330K ufw-before-forward all -- * * 0.0.0.0/0 0.0.0.0/0
  16. 228 32085 ufw-after-forward all -- * * 0.0.0.0/0 0.0.0.0/0
  17. 228 32085 ufw-after-logging-forward all -- * * 0.0.0.0/0 0.0.0.0/0
  18. 228 32085 ufw-reject-forward all -- * * 0.0.0.0/0 0.0.0.0/0
  19. 228 32085 ufw-track-forward all -- * * 0.0.0.0/0 0.0.0.0/0
  20.  
  21. Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
  22. pkts bytes target prot opt in out source destination
  23. 3325 1649K ufw-before-logging-output all -- * * 0.0.0.0/0 0.0.0.0/0
  24. 3325 1649K ufw-before-output all -- * * 0.0.0.0/0 0.0.0.0/0
  25. 61 5656 ufw-after-output all -- * * 0.0.0.0/0 0.0.0.0/0
  26. 61 5656 ufw-after-logging-output all -- * * 0.0.0.0/0 0.0.0.0/0
  27. 61 5656 ufw-reject-output all -- * * 0.0.0.0/0 0.0.0.0/0
  28. 61 5656 ufw-track-output all -- * * 0.0.0.0/0 0.0.0.0/0
  29.  
  30. Chain ufw-after-forward (1 references)
  31. pkts bytes target prot opt in out source destination
  32.  
  33. Chain ufw-after-input (1 references)
  34. pkts bytes target prot opt in out source destination
  35. 0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:137
  36. 0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:138
  37. 0 0 ufw-skip-to-policy-input tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:139
  38. 0 0 ufw-skip-to-policy-input tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:445
  39. 0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:67
  40. 0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:68
  41. 10 1700 ufw-skip-to-policy-input all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type BROADCAST
  42.  
  43. Chain ufw-after-logging-forward (1 references)
  44. pkts bytes target prot opt in out source destination
  45.  
  46. Chain ufw-after-logging-input (1 references)
  47. pkts bytes target prot opt in out source destination
  48. 0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
  49.  
  50. Chain ufw-after-logging-output (1 references)
  51. pkts bytes target prot opt in out source destination
  52.  
  53. Chain ufw-after-output (1 references)
  54. pkts bytes target prot opt in out source destination
  55.  
  56. Chain ufw-before-forward (1 references)
  57. pkts bytes target prot opt in out source destination
  58. 2504 1298K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
  59. 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 3
  60. 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 4
  61. 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 11
  62. 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 12
  63. 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8
  64. 228 32085 ufw-user-forward all -- * * 0.0.0.0/0 0.0.0.0/0
  65.  
  66. Chain ufw-before-input (1 references)
  67. pkts bytes target prot opt in out source destination
  68. 160 11840 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
  69. 3481 514K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
  70. 1 124 ufw-logging-deny all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
  71. 1 124 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
  72. 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 3
  73. 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 4
  74. 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 11
  75. 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 12
  76. 2 168 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8
  77. 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spt:67 dpt:68
  78. 26 2898 ufw-not-local all -- * * 0.0.0.0/0 0.0.0.0/0
  79. 0 0 ACCEPT udp -- * * 0.0.0.0/0 224.0.0.251 udp dpt:5353
  80. 0 0 ACCEPT udp -- * * 0.0.0.0/0 239.255.255.250 udp dpt:1900
  81. 26 2898 ufw-user-input all -- * * 0.0.0.0/0 0.0.0.0/0
  82.  
  83. Chain ufw-before-logging-forward (1 references)
  84. pkts bytes target prot opt in out source destination
  85.  
  86. Chain ufw-before-logging-input (1 references)
  87. pkts bytes target prot opt in out source destination
  88.  
  89. Chain ufw-before-logging-output (1 references)
  90. pkts bytes target prot opt in out source destination
  91.  
  92. Chain ufw-before-output (1 references)
  93. pkts bytes target prot opt in out source destination
  94. 160 11840 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
  95. 3104 1632K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
  96. 61 5656 ufw-user-output all -- * * 0.0.0.0/0 0.0.0.0/0
  97.  
  98. Chain ufw-logging-allow (0 references)
  99. pkts bytes target prot opt in out source destination
  100. 0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW ALLOW] "
  101.  
  102. Chain ufw-logging-deny (2 references)
  103. pkts bytes target prot opt in out source destination
  104. 1 124 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID limit: avg 3/min burst 10
  105. 0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
  106.  
  107. Chain ufw-not-local (1 references)
  108. pkts bytes target prot opt in out source destination
  109. 16 1198 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type LOCAL
  110. 0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type MULTICAST
  111. 10 1700 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type BROADCAST
  112. 0 0 ufw-logging-deny all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10
  113. 0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0
  114.  
  115. Chain ufw-reject-forward (1 references)
  116. pkts bytes target prot opt in out source destination
  117.  
  118. Chain ufw-reject-input (1 references)
  119. pkts bytes target prot opt in out source destination
  120.  
  121. Chain ufw-reject-output (1 references)
  122. pkts bytes target prot opt in out source destination
  123.  
  124. Chain ufw-skip-to-policy-forward (0 references)
  125. pkts bytes target prot opt in out source destination
  126. 0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0
  127.  
  128. Chain ufw-skip-to-policy-input (7 references)
  129. pkts bytes target prot opt in out source destination
  130. 10 1700 DROP all -- * * 0.0.0.0/0 0.0.0.0/0
  131.  
  132. Chain ufw-skip-to-policy-output (0 references)
  133. pkts bytes target prot opt in out source destination
  134. 0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0
  135.  
  136. Chain ufw-track-forward (1 references)
  137. pkts bytes target prot opt in out source destination
  138. 99 5940 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 ctstate NEW
  139. 124 25885 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 ctstate NEW
  140.  
  141. Chain ufw-track-input (1 references)
  142. pkts bytes target prot opt in out source destination
  143.  
  144. Chain ufw-track-output (1 references)
  145. pkts bytes target prot opt in out source destination
  146. 26 1560 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 ctstate NEW
  147. 35 4096 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 ctstate NEW
  148.  
  149. Chain ufw-user-forward (1 references)
  150. pkts bytes target prot opt in out source destination
  151.  
  152. Chain ufw-user-input (1 references)
  153. pkts bytes target prot opt in out source destination
  154. 11 788 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 ctstate NEW recent: SET name: DEFAULT side: source mask: 255.255.255.255
  155. 0 0 ufw-user-limit tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 ctstate NEW recent: UPDATE seconds: 30 hit_count: 6 name: DEFAULT side: source mask: 255.255.255.255
  156. 11 788 ufw-user-limit-accept tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
  157. 0 0 udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:22 ctstate NEW recent: SET name: DEFAULT side: source mask: 255.255.255.255
  158. 0 0 ufw-user-limit udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:22 ctstate NEW recent: UPDATE seconds: 30 hit_count: 6 name: DEFAULT side: source mask: 255.255.255.255
  159. 0 0 ufw-user-limit-accept udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:22
  160. 5 410 udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:1194 ctstate NEW recent: SET name: DEFAULT side: source mask: 255.255.255.255
  161. 0 0 ufw-user-limit udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:1194 ctstate NEW recent: UPDATE seconds: 30 hit_count: 6 name: DEFAULT side: source mask: 255.255.255.255
  162. 5 410 ufw-user-limit-accept udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:1194
  163.  
  164. Chain ufw-user-limit (3 references)
  165. pkts bytes target prot opt in out source destination
  166. 0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 5 LOG flags 0 level 4 prefix "[UFW LIMIT BLOCK] "
  167. 0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
  168.  
  169. Chain ufw-user-limit-accept (3 references)
  170. pkts bytes target prot opt in out source destination
  171. 16 1198 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0
  172.  
  173. Chain ufw-user-logging-forward (0 references)
  174. pkts bytes target prot opt in out source destination
  175.  
  176. Chain ufw-user-logging-input (0 references)
  177. pkts bytes target prot opt in out source destination
  178.  
  179. Chain ufw-user-logging-output (0 references)
  180. pkts bytes target prot opt in out source destination
  181.  
  182. Chain ufw-user-output (1 references)
  183. pkts bytes target prot opt in out source destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement