Advertisement
tbigley2011

sudo iptables -L -n (3cx server)

Aug 8th, 2022
11
0
254 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.21 KB | None | 0 0
  1. Chain INPUT (policy DROP)
  2. target prot opt source destination
  3. ufw-before-logging-input all -- 0.0.0.0/0 0.0.0.0/0
  4. ufw-before-input all -- 0.0.0.0/0 0.0.0.0/0
  5. ufw-after-input all -- 0.0.0.0/0 0.0.0.0/0
  6. ufw-after-logging-input all -- 0.0.0.0/0 0.0.0.0/0
  7. ufw-reject-input all -- 0.0.0.0/0 0.0.0.0/0
  8. ufw-track-input all -- 0.0.0.0/0 0.0.0.0/0
  9.  
  10. Chain FORWARD (policy DROP)
  11. target prot opt source destination
  12. ufw-before-logging-forward all -- 0.0.0.0/0 0.0.0.0/0
  13. ufw-before-forward all -- 0.0.0.0/0 0.0.0.0/0
  14. ufw-after-forward all -- 0.0.0.0/0 0.0.0.0/0
  15. ufw-after-logging-forward all -- 0.0.0.0/0 0.0.0.0/0
  16. ufw-reject-forward all -- 0.0.0.0/0 0.0.0.0/0
  17. ufw-track-forward all -- 0.0.0.0/0 0.0.0.0/0
  18.  
  19. Chain OUTPUT (policy ACCEPT)
  20. target prot opt source destination
  21. ufw-before-logging-output all -- 0.0.0.0/0 0.0.0.0/0
  22. ufw-before-output all -- 0.0.0.0/0 0.0.0.0/0
  23. ufw-after-output all -- 0.0.0.0/0 0.0.0.0/0
  24. ufw-after-logging-output all -- 0.0.0.0/0 0.0.0.0/0
  25. ufw-reject-output all -- 0.0.0.0/0 0.0.0.0/0
  26. ufw-track-output all -- 0.0.0.0/0 0.0.0.0/0
  27.  
  28. Chain ufw-after-forward (1 references)
  29. target prot opt source destination
  30.  
  31. Chain ufw-after-input (1 references)
  32. target prot opt source destination
  33. ufw-skip-to-policy-input udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:137
  34. ufw-skip-to-policy-input udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:138
  35. ufw-skip-to-policy-input tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:139
  36. ufw-skip-to-policy-input tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:445
  37. ufw-skip-to-policy-input udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:67
  38. ufw-skip-to-policy-input udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:68
  39. ufw-skip-to-policy-input all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type BROADCAST
  40.  
  41. Chain ufw-after-logging-forward (1 references)
  42. target prot opt source destination
  43. 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] "
  44.  
  45. Chain ufw-after-logging-input (1 references)
  46. target prot opt source destination
  47. 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] "
  48.  
  49. Chain ufw-after-logging-output (1 references)
  50. target prot opt source destination
  51.  
  52. Chain ufw-after-output (1 references)
  53. target prot opt source destination
  54.  
  55. Chain ufw-before-forward (1 references)
  56. target prot opt source destination
  57. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
  58. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 3
  59. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 11
  60. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 12
  61. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 8
  62. ufw-user-forward all -- 0.0.0.0/0 0.0.0.0/0
  63.  
  64. Chain ufw-before-input (1 references)
  65. target prot opt source destination
  66. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  67. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
  68. ufw-logging-deny all -- 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
  69. DROP all -- 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
  70. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 3
  71. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 11
  72. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 12
  73. ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmptype 8
  74. ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp spt:67 dpt:68
  75. ufw-not-local all -- 0.0.0.0/0 0.0.0.0/0
  76. ACCEPT udp -- 0.0.0.0/0 224.0.0.251 udp dpt:5353
  77. ACCEPT udp -- 0.0.0.0/0 239.255.255.250 udp dpt:1900
  78. ufw-user-input all -- 0.0.0.0/0 0.0.0.0/0
  79.  
  80. Chain ufw-before-logging-forward (1 references)
  81. target prot opt source destination
  82.  
  83. Chain ufw-before-logging-input (1 references)
  84. target prot opt source destination
  85.  
  86. Chain ufw-before-logging-output (1 references)
  87. target prot opt source destination
  88.  
  89. Chain ufw-before-output (1 references)
  90. target prot opt source destination
  91. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  92. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
  93. ufw-user-output all -- 0.0.0.0/0 0.0.0.0/0
  94.  
  95. Chain ufw-logging-allow (0 references)
  96. target prot opt source destination
  97. 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] "
  98.  
  99. Chain ufw-logging-deny (2 references)
  100. target prot opt source destination
  101. RETURN all -- 0.0.0.0/0 0.0.0.0/0 ctstate INVALID limit: avg 3/min burst 10
  102. 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] "
  103.  
  104. Chain ufw-not-local (1 references)
  105. target prot opt source destination
  106. RETURN all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type LOCAL
  107. RETURN all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type MULTICAST
  108. RETURN all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type BROADCAST
  109. ufw-logging-deny all -- 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10
  110. DROP all -- 0.0.0.0/0 0.0.0.0/0
  111.  
  112. Chain ufw-reject-forward (1 references)
  113. target prot opt source destination
  114.  
  115. Chain ufw-reject-input (1 references)
  116. target prot opt source destination
  117.  
  118. Chain ufw-reject-output (1 references)
  119. target prot opt source destination
  120.  
  121. Chain ufw-skip-to-policy-forward (0 references)
  122. target prot opt source destination
  123. DROP all -- 0.0.0.0/0 0.0.0.0/0
  124.  
  125. Chain ufw-skip-to-policy-input (7 references)
  126. target prot opt source destination
  127. DROP all -- 0.0.0.0/0 0.0.0.0/0
  128.  
  129. Chain ufw-skip-to-policy-output (0 references)
  130. target prot opt source destination
  131. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  132.  
  133. Chain ufw-track-forward (1 references)
  134. target prot opt source destination
  135.  
  136. Chain ufw-track-input (1 references)
  137. target prot opt source destination
  138.  
  139. Chain ufw-track-output (1 references)
  140. target prot opt source destination
  141. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 ctstate NEW
  142. ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 ctstate NEW
  143.  
  144. Chain ufw-user-forward (1 references)
  145. target prot opt source destination
  146.  
  147. Chain ufw-user-input (1 references)
  148. target prot opt source destination
  149. ACCEPT tcp -- 73.154.152.100 0.0.0.0/0 tcp dpt:22
  150. ACCEPT tcp -- 73.154.152.100 0.0.0.0/0 tcp dpt:5060
  151. ACCEPT tcp -- 208.100.60.10 0.0.0.0/0 tcp dpt:5060
  152. ACCEPT tcp -- 34.226.36.30/28 0.0.0.0/0 tcp dpt:5060
  153. ACCEPT tcp -- 208.100.60.10 0.0.0.0/0 tcp dpt:5061
  154. ACCEPT tcp -- 34.226.36.30/28 0.0.0.0/0 tcp dpt:5061
  155. ACCEPT tcp -- 208.100.60.10 0.0.0.0/0 tcp dpt:5062
  156. ACCEPT tcp -- 34.226.36.30/28 0.0.0.0/0 tcp dpt:5062
  157. ACCEPT udp -- 73.154.152.100 0.0.0.0/0 udp dpt:5060
  158. ACCEPT udp -- 208.100.60.10 0.0.0.0/0 udp dpt:5060
  159. ACCEPT udp -- 34.226.36.30/28 0.0.0.0/0 udp dpt:5060
  160. ACCEPT udp -- 208.100.60.10 0.0.0.0/0 multiport dports 9000:10999
  161. ACCEPT udp -- 34.226.36.30/28 0.0.0.0/0 multiport dports 9000:10999
  162. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:5090
  163. ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:5090
  164. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:5001
  165. ACCEPT tcp -- 73.154.152.100 0.0.0.0/0 tcp dpt:10050
  166. ACCEPT tcp -- 73.154.152.100 0.0.0.0/0 tcp dpt:11050
  167.  
  168. Chain ufw-user-limit (0 references)
  169. target prot opt source destination
  170. 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] "
  171. REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
  172.  
  173. Chain ufw-user-limit-accept (0 references)
  174. target prot opt source destination
  175. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  176.  
  177. Chain ufw-user-logging-forward (0 references)
  178. target prot opt source destination
  179.  
  180. Chain ufw-user-logging-input (0 references)
  181. target prot opt source destination
  182.  
  183. Chain ufw-user-logging-output (0 references)
  184. target prot opt source destination
  185.  
  186. Chain ufw-user-output (1 references)
  187. target prot opt source destination
  188.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement