Guest User

sudo iptables -L

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