Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.86 KB | None | 0 0
  1. root@jupiter:~# ufw show raw
  2. IPV4 (raw):
  3. Chain INPUT (policy DROP 9949 packets, 495902 bytes)
  4. pkts bytes target prot opt in out source destination
  5. 314596 18884821 fail2ban-ssh tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport dports 22
  6. 529080 45711585 ufw-before-logging-input all -- * * 0.0.0.0/0 0.0.0.0/0
  7. 529080 45711585 ufw-before-input all -- * * 0.0.0.0/0 0.0.0.0/0
  8. 10189 507930 ufw-after-input all -- * * 0.0.0.0/0 0.0.0.0/0
  9. 9949 495902 ufw-after-logging-input all -- * * 0.0.0.0/0 0.0.0.0/0
  10. 9949 495902 ufw-reject-input all -- * * 0.0.0.0/0 0.0.0.0/0
  11. 9949 495902 ufw-track-input all -- * * 0.0.0.0/0 0.0.0.0/0
  12.  
  13. Chain FORWARD (policy DROP 0 packets, 0 bytes)
  14. pkts bytes target prot opt in out source destination
  15. 0 0 ufw-before-logging-forward all -- * * 0.0.0.0/0 0.0.0.0/0
  16. 0 0 ufw-before-forward all -- * * 0.0.0.0/0 0.0.0.0/0
  17. 0 0 ufw-after-forward all -- * * 0.0.0.0/0 0.0.0.0/0
  18. 0 0 ufw-after-logging-forward all -- * * 0.0.0.0/0 0.0.0.0/0
  19. 0 0 ufw-reject-forward all -- * * 0.0.0.0/0 0.0.0.0/0
  20.  
  21. Chain OUTPUT (policy ACCEPT 68 packets, 3512 bytes)
  22. pkts bytes target prot opt in out source destination
  23. 503259 66788881 ufw-before-logging-output all -- * * 0.0.0.0/0 0.0.0.0/0
  24. 503259 66788881 ufw-before-output all -- * * 0.0.0.0/0 0.0.0.0/0
  25. 5109 364222 ufw-after-output all -- * * 0.0.0.0/0 0.0.0.0/0
  26. 5109 364222 ufw-after-logging-output all -- * * 0.0.0.0/0 0.0.0.0/0
  27. 5109 364222 ufw-reject-output all -- * * 0.0.0.0/0 0.0.0.0/0
  28. 5109 364222 ufw-track-output all -- * * 0.0.0.0/0 0.0.0.0/0
  29.  
  30. Chain fail2ban-ssh (1 references)
  31. pkts bytes target prot opt in out source destination
  32. 313639 18801215 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0
  33.  
  34. Chain ufw-after-forward (1 references)
  35. pkts bytes target prot opt in out source destination
  36.  
  37. Chain ufw-after-input (1 references)
  38. pkts bytes target prot opt in out source destination
  39. 2 156 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:137
  40. 0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:138
  41. 56 2704 ufw-skip-to-policy-input tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:139
  42. 182 9168 ufw-skip-to-policy-input tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:445
  43. 0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:67
  44. 0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:68
  45. 0 0 ufw-skip-to-policy-input all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type BROADCAST
  46.  
  47. Chain ufw-after-logging-forward (1 references)
  48. pkts bytes target prot opt in out source destination
  49. 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] '
  50.  
  51. Chain ufw-after-logging-input (1 references)
  52. pkts bytes target prot opt in out source destination
  53. 11 844 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] '
  54.  
  55. Chain ufw-after-logging-output (1 references)
  56. pkts bytes target prot opt in out source destination
  57.  
  58. Chain ufw-after-output (1 references)
  59. pkts bytes target prot opt in out source destination
  60.  
  61. Chain ufw-before-forward (1 references)
  62. pkts bytes target prot opt in out source destination
  63. 0 0 ufw-user-forward all -- * * 0.0.0.0/0 0.0.0.0/0
  64.  
  65. Chain ufw-before-input (1 references)
  66. pkts bytes target prot opt in out source destination
  67. 107943 7679574 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
  68. 408806 37400216 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
  69. 267 11999 ufw-logging-deny all -- * * 0.0.0.0/0 0.0.0.0/0 state INVALID
  70. 267 11999 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 state INVALID
  71. 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 3
  72. 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 4
  73. 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 11
  74. 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 12
  75. 72 3270 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 8
  76. 15 5130 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spt:67 dpt:68
  77. 11977 611396 ufw-not-local all -- * * 0.0.0.0/0 0.0.0.0/0
  78. 0 0 ACCEPT all -- * * 224.0.0.0/4 0.0.0.0/0
  79. 0 0 ACCEPT all -- * * 0.0.0.0/0 224.0.0.0/4
  80. 11977 611396 ufw-user-input all -- * * 0.0.0.0/0 0.0.0.0/0
  81.  
  82. Chain ufw-before-logging-forward (1 references)
  83. pkts bytes target prot opt in out source destination
  84.  
  85. Chain ufw-before-logging-input (1 references)
  86. pkts bytes target prot opt in out source destination
  87.  
  88. Chain ufw-before-logging-output (1 references)
  89. pkts bytes target prot opt in out source destination
  90.  
  91. Chain ufw-before-output (1 references)
  92. pkts bytes target prot opt in out source destination
  93. 107943 7679574 ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
  94. 390207 58745085 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
  95. 5109 364222 ufw-user-output all -- * * 0.0.0.0/0 0.0.0.0/0
  96.  
  97. Chain ufw-logging-allow (0 references)
  98. pkts bytes target prot opt in out source destination
  99. 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] '
  100.  
  101. Chain ufw-logging-deny (2 references)
  102. pkts bytes target prot opt in out source destination
  103. 0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 state INVALID limit: avg 3/min burst 10
  104. 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] '
  105.  
  106. Chain ufw-not-local (1 references)
  107. pkts bytes target prot opt in out source destination
  108. 11977 611396 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type LOCAL
  109. 0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type MULTICAST
  110. 0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type BROADCAST
  111. 0 0 ufw-logging-deny all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10
  112. 0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0
  113.  
  114. Chain ufw-reject-forward (1 references)
  115. pkts bytes target prot opt in out source destination
  116.  
  117. Chain ufw-reject-input (1 references)
  118. pkts bytes target prot opt in out source destination
  119.  
  120. Chain ufw-reject-output (1 references)
  121. pkts bytes target prot opt in out source destination
  122.  
  123. Chain ufw-skip-to-policy-forward (0 references)
  124. pkts bytes target prot opt in out source destination
  125. 0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0
  126.  
  127. Chain ufw-skip-to-policy-input (7 references)
  128. pkts bytes target prot opt in out source destination
  129. 240 12028 DROP all -- * * 0.0.0.0/0 0.0.0.0/0
  130.  
  131. Chain ufw-skip-to-policy-output (0 references)
  132. pkts bytes target prot opt in out source destination
  133. 0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0
  134.  
  135. Chain ufw-track-input (1 references)
  136. pkts bytes target prot opt in out source destination
  137.  
  138. Chain ufw-track-output (1 references)
  139. pkts bytes target prot opt in out source destination
  140. 627 37644 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW
  141. 4414 323066 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW
  142.  
  143. Chain ufw-user-forward (1 references)
  144. pkts bytes target prot opt in out source destination
  145.  
  146. Chain ufw-user-input (1 references)
  147. pkts bytes target prot opt in out source destination
  148. 7 328 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
  149. 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:22
  150. 2 104 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
  151. 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:80
  152. 2 88 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8080
  153. 0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:8080
  154. 1 44 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:110
  155. 0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:110
  156. 2 88 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:143
  157. 0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:143
  158. 2 88 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
  159. 0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:25
  160. 2 88 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:465
  161. 0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:465
  162. 0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:585
  163. 0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:585
  164. 2 88 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:993
  165. 0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:993
  166. 2 88 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:995
  167. 0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:995
  168. 1 44 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:113
  169. 0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:113
  170. 2 88 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:81
  171. 0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:81
  172. 2 88 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:6667
  173. 0 0 DROP udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:6667
  174.  
  175. Chain ufw-user-limit (0 references)
  176. pkts bytes target prot opt in out source destination
  177. 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] '
  178. 0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
  179.  
  180. Chain ufw-user-limit-accept (0 references)
  181. pkts bytes target prot opt in out source destination
  182. 0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0
  183.  
  184. Chain ufw-user-logging-forward (0 references)
  185. pkts bytes target prot opt in out source destination
  186.  
  187. Chain ufw-user-logging-input (0 references)
  188. pkts bytes target prot opt in out source destination
  189.  
  190. Chain ufw-user-logging-output (0 references)
  191. pkts bytes target prot opt in out source destination
  192.  
  193. Chain ufw-user-output (1 references)
  194. pkts bytes target prot opt in out source destination
  195. Chain PREROUTING (policy ACCEPT 12237 packets, 632804 bytes)
  196. pkts bytes target prot opt in out source destination
  197.  
  198. Chain POSTROUTING (policy ACCEPT 18736 packets, 1182398 bytes)
  199. pkts bytes target prot opt in out source destination
  200.  
  201. Chain OUTPUT (policy ACCEPT 18736 packets, 1182398 bytes)
  202. pkts bytes target prot opt in out source destination
  203. Chain PREROUTING (policy ACCEPT 530048 packets, 45798663 bytes)
  204. pkts bytes target prot opt in out source destination
  205.  
  206. Chain INPUT (policy ACCEPT 530037 packets, 45795191 bytes)
  207. pkts bytes target prot opt in out source destination
  208.  
  209. Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
  210. pkts bytes target prot opt in out source destination
  211.  
  212. Chain OUTPUT (policy ACCEPT 503259 packets, 66788881 bytes)
  213. pkts bytes target prot opt in out source destination
  214.  
  215. Chain POSTROUTING (policy ACCEPT 503259 packets, 66788881 bytes)
  216. pkts bytes target prot opt in out source destination
  217. Chain PREROUTING (policy ACCEPT 530048 packets, 45798663 bytes)
  218. pkts bytes target prot opt in out source destination
  219.  
  220. Chain OUTPUT (policy ACCEPT 503259 packets, 66788881 bytes)
  221. pkts bytes target prot opt in out source destination
  222.  
  223.  
  224. IPV6:
  225. Chain INPUT (policy DROP 0 packets, 0 bytes)
  226. pkts bytes target prot opt in out source destination
  227. 0 0 ACCEPT all lo * ::/0 ::/0
  228.  
  229. Chain FORWARD (policy DROP 0 packets, 0 bytes)
  230. pkts bytes target prot opt in out source destination
  231.  
  232. Chain OUTPUT (policy DROP 6 packets, 384 bytes)
  233. pkts bytes target prot opt in out source destination
  234. 0 0 ACCEPT all * lo ::/0 ::/0
  235. Chain PREROUTING (policy ACCEPT 2 packets, 112 bytes)
  236. pkts bytes target prot opt in out source destination
  237.  
  238. Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
  239. pkts bytes target prot opt in out source destination
  240.  
  241. Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
  242. pkts bytes target prot opt in out source destination
  243.  
  244. Chain OUTPUT (policy ACCEPT 6 packets, 384 bytes)
  245. pkts bytes target prot opt in out source destination
  246.  
  247. Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
  248. pkts bytes target prot opt in out source destination
  249. Chain PREROUTING (policy ACCEPT 2 packets, 112 bytes)
  250. pkts bytes target prot opt in out source destination
  251.  
  252. Chain OUTPUT (policy ACCEPT 6 packets, 384 bytes)
  253. pkts bytes target prot opt in out source destination
  254.  
  255. root@jupiter:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement