Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.02 KB | None | 0 0
  1. [sudo iptables -L
  2. Chain INPUT (policy ACCEPT)
  3. target prot opt source destination
  4. ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
  5. ACCEPT all -- anywhere anywhere
  6. INPUT_direct all -- anywhere anywhere
  7. INPUT_ZONES_SOURCE all -- anywhere anywhere
  8. INPUT_ZONES all -- anywhere anywhere
  9. ACCEPT icmp -- anywhere anywhere
  10. REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
  11.  
  12. Chain FORWARD (policy ACCEPT)
  13. target prot opt source destination
  14. ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
  15. ACCEPT all -- anywhere anywhere
  16. FORWARD_direct all -- anywhere anywhere
  17. FORWARD_IN_ZONES_SOURCE all -- anywhere anywhere
  18. FORWARD_IN_ZONES all -- anywhere anywhere
  19. FORWARD_OUT_ZONES_SOURCE all -- anywhere anywhere
  20. FORWARD_OUT_ZONES all -- anywhere anywhere
  21. ACCEPT icmp -- anywhere anywhere
  22. REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
  23.  
  24. Chain OUTPUT (policy ACCEPT)
  25. target prot opt source destination
  26. OUTPUT_direct all -- anywhere anywhere
  27.  
  28. Chain FORWARD_IN_ZONES (1 references)
  29. target prot opt source destination
  30. FWDI_tor all -- anywhere anywhere [goto]
  31. FWDI_public all -- anywhere anywhere [goto]
  32. FWDI_internal all -- anywhere anywhere [goto]
  33. FWDI_external all -- anywhere anywhere [goto]
  34. FWDI_public all -- anywhere anywhere [goto]
  35.  
  36. Chain FORWARD_IN_ZONES_SOURCE (1 references)
  37. target prot opt source destination
  38.  
  39. Chain FORWARD_OUT_ZONES (1 references)
  40. target prot opt source destination
  41. FWDO_tor all -- anywhere anywhere [goto]
  42. FWDO_public all -- anywhere anywhere [goto]
  43. FWDO_internal all -- anywhere anywhere [goto]
  44. FWDO_external all -- anywhere anywhere [goto]
  45. FWDO_public all -- anywhere anywhere [goto]
  46.  
  47. Chain FORWARD_OUT_ZONES_SOURCE (1 references)
  48. target prot opt source destination
  49.  
  50. Chain FORWARD_direct (1 references)
  51. target prot opt source destination
  52.  
  53. Chain FWDI_external (1 references)
  54. target prot opt source destination
  55. FWDI_external_log all -- anywhere anywhere
  56. FWDI_external_deny all -- anywhere anywhere
  57. FWDI_external_allow all -- anywhere anywhere
  58.  
  59. Chain FWDI_external_allow (1 references)
  60. target prot opt source destination
  61.  
  62. Chain FWDI_external_deny (1 references)
  63. target prot opt source destination
  64.  
  65. Chain FWDI_external_log (1 references)
  66. target prot opt source destination
  67.  
  68. Chain FWDI_internal (1 references)
  69. target prot opt source destination
  70. FWDI_internal_log all -- anywhere anywhere
  71. FWDI_internal_deny all -- anywhere anywhere
  72. FWDI_internal_allow all -- anywhere anywhere
  73.  
  74. Chain FWDI_internal_allow (1 references)
  75. target prot opt source destination
  76.  
  77. Chain FWDI_internal_deny (1 references)
  78. target prot opt source destination
  79.  
  80. Chain FWDI_internal_log (1 references)
  81. target prot opt source destination
  82.  
  83. Chain FWDI_public (2 references)
  84. target prot opt source destination
  85. FWDI_public_log all -- anywhere anywhere
  86. FWDI_public_deny all -- anywhere anywhere
  87. FWDI_public_allow all -- anywhere anywhere
  88.  
  89. Chain FWDI_public_allow (1 references)
  90. target prot opt source destination
  91.  
  92. Chain FWDI_public_deny (1 references)
  93. target prot opt source destination
  94.  
  95. Chain FWDI_public_log (1 references)
  96. target prot opt source destination
  97.  
  98. Chain FWDI_tor (1 references)
  99. target prot opt source destination
  100. FWDI_tor_log all -- anywhere anywhere
  101. FWDI_tor_deny all -- anywhere anywhere
  102. FWDI_tor_allow all -- anywhere anywhere
  103.  
  104. Chain FWDI_tor_allow (1 references)
  105. target prot opt source destination
  106.  
  107. Chain FWDI_tor_deny (1 references)
  108. target prot opt source destination
  109.  
  110. Chain FWDI_tor_log (1 references)
  111. target prot opt source destination
  112.  
  113. Chain FWDO_external (1 references)
  114. target prot opt source destination
  115. FWDO_external_log all -- anywhere anywhere
  116. FWDO_external_deny all -- anywhere anywhere
  117. FWDO_external_allow all -- anywhere anywhere
  118.  
  119. Chain FWDO_external_allow (1 references)
  120. target prot opt source destination
  121.  
  122. Chain FWDO_external_deny (1 references)
  123. target prot opt source destination
  124.  
  125. Chain FWDO_external_log (1 references)
  126. target prot opt source destination
  127.  
  128. Chain FWDO_internal (1 references)
  129. target prot opt source destination
  130. FWDO_internal_log all -- anywhere anywhere
  131. FWDO_internal_deny all -- anywhere anywhere
  132. FWDO_internal_allow all -- anywhere anywhere
  133.  
  134. Chain FWDO_internal_allow (1 references)
  135. target prot opt source destination
  136.  
  137. Chain FWDO_internal_deny (1 references)
  138. target prot opt source destination
  139.  
  140. Chain FWDO_internal_log (1 references)
  141. target prot opt source destination
  142.  
  143. Chain FWDO_public (2 references)
  144. target prot opt source destination
  145. FWDO_public_log all -- anywhere anywhere
  146. FWDO_public_deny all -- anywhere anywhere
  147. FWDO_public_allow all -- anywhere anywhere
  148.  
  149. Chain FWDO_public_allow (1 references)
  150. target prot opt source destination
  151.  
  152. Chain FWDO_public_deny (1 references)
  153. target prot opt source destination
  154.  
  155. Chain FWDO_public_log (1 references)
  156. target prot opt source destination
  157.  
  158. Chain FWDO_tor (1 references)
  159. target prot opt source destination
  160. FWDO_tor_log all -- anywhere anywhere
  161. FWDO_tor_deny all -- anywhere anywhere
  162. FWDO_tor_allow all -- anywhere anywhere
  163.  
  164. Chain FWDO_tor_allow (1 references)
  165. target prot opt source destination
  166.  
  167. Chain FWDO_tor_deny (1 references)
  168. target prot opt source destination
  169.  
  170. Chain FWDO_tor_log (1 references)
  171. target prot opt source destination
  172.  
  173. Chain INPUT_ZONES (1 references)
  174. target prot opt source destination
  175. IN_tor all -- anywhere anywhere [goto]
  176. IN_public all -- anywhere anywhere [goto]
  177. IN_internal all -- anywhere anywhere [goto]
  178. IN_external all -- anywhere anywhere [goto]
  179. IN_public all -- anywhere anywhere [goto]
  180.  
  181. Chain INPUT_ZONES_SOURCE (1 references)
  182. target prot opt source destination
  183.  
  184. Chain INPUT_direct (1 references)
  185. target prot opt source destination
  186.  
  187. Chain IN_external (1 references)
  188. target prot opt source destination
  189. IN_external_log all -- anywhere anywhere
  190. IN_external_deny all -- anywhere anywhere
  191. IN_external_allow all -- anywhere anywhere
  192.  
  193. Chain IN_external_allow (1 references)
  194. target prot opt source destination
  195. ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ctstate NEW
  196. ACCEPT udp -- anywhere anywhere udp dpt:openvpn ctstate NEW
  197.  
  198. Chain IN_external_deny (1 references)
  199. target prot opt source destination
  200.  
  201. Chain IN_external_log (1 references)
  202. target prot opt source destination
  203.  
  204. Chain IN_internal (1 references)
  205. target prot opt source destination
  206. IN_internal_log all -- anywhere anywhere
  207. IN_internal_deny all -- anywhere anywhere
  208. IN_internal_allow all -- anywhere anywhere
  209.  
  210. Chain IN_internal_allow (1 references)
  211. target prot opt source destination
  212. ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns ctstate NEW
  213. ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ctstate NEW
  214. ACCEPT udp -- anywhere anywhere udp dpt:netbios-ns ctstate NEW
  215. ACCEPT udp -- anywhere anywhere udp dpt:netbios-dgm ctstate NEW
  216. ACCEPT udp -- anywhere anywhere udp dpt:openvpn ctstate NEW
  217.  
  218. Chain IN_internal_deny (1 references)
  219. target prot opt source destination
  220.  
  221. Chain IN_internal_log (1 references)
  222. target prot opt source destination
  223.  
  224. Chain IN_public (2 references)
  225. target prot opt source destination
  226. IN_public_log all -- anywhere anywhere
  227. IN_public_deny all -- anywhere anywhere
  228. IN_public_allow all -- anywhere anywhere
  229.  
  230. Chain IN_public_allow (1 references)
  231. target prot opt source destination
  232. ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns ctstate NEW
  233. ACCEPT tcp -- anywhere anywhere tcp dpt:http ctstate NEW
  234. ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ctstate NEW
  235. ACCEPT tcp -- anywhere anywhere tcp dpt:https ctstate NEW
  236. ACCEPT udp -- anywhere anywhere udp dpt:openvpn ctstate NEW
  237. ACCEPT tcp -- anywhere anywhere tcp dpt:6379 ctstate NEW
  238. ACCEPT tcp -- anywhere anywhere tcp dpt:8887 ctstate NEW
  239.  
  240. Chain IN_public_deny (1 references)
  241. target prot opt source destination
  242.  
  243. Chain IN_public_log (1 references)
  244. target prot opt source destination
  245.  
  246. Chain IN_tor (1 references)
  247. target prot opt source destination
  248. IN_tor_log all -- anywhere anywhere
  249. IN_tor_deny all -- anywhere anywhere
  250. IN_tor_allow all -- anywhere anywhere
  251.  
  252. Chain IN_tor_allow (1 references)
  253. target prot opt source destination
  254. ACCEPT tcp -- anywhere anywhere tcp dpt:http ctstate NEW
  255. ACCEPT tcp -- anywhere anywhere tcp dpt:https ctstate NEW
  256.  
  257. Chain IN_tor_deny (1 references)
  258. target prot opt source destination
  259.  
  260. Chain IN_tor_log (1 references)
  261. target prot opt source destination
  262.  
  263. Chain OUTPUT_direct (1 references)
  264. target prot opt source destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement