Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.47 KB | None | 0 0
  1. vyatta@vyatta# delete firewall name two-one enable-default-log
  2. [edit]
  3. vyatta@vyatta# commit
  4. [edit]
  5. vyatta@vyatta# sudo iptables -L
  6. Chain INPUT (policy ACCEPT)
  7. target prot opt source destination
  8. VZONE_local_IN all -- anywhere anywhere
  9. VYATTA_POST_FW_HOOK all -- anywhere anywhere
  10.  
  11. Chain FORWARD (policy ACCEPT)
  12. target prot opt source destination
  13. VYATTA_IN_HOOK all -- anywhere anywhere
  14. VYATTA_OUT_HOOK all -- anywhere anywhere
  15. VZONE_one all -- anywhere anywhere
  16. VZONE_two all -- anywhere anywhere
  17. VYATTA_POST_FW_HOOK all -- anywhere anywhere
  18.  
  19. Chain OUTPUT (policy ACCEPT)
  20. target prot opt source destination
  21. VZONE_local_OUT all -- anywhere anywhere
  22.  
  23. Chain VYATTA_IN_HOOK (1 references)
  24. target prot opt source destination
  25.  
  26. Chain VYATTA_OUT_HOOK (1 references)
  27. target prot opt source destination
  28.  
  29. Chain VYATTA_POST_FW_HOOK (2 references)
  30. target prot opt source destination
  31. ACCEPT all -- anywhere anywhere
  32.  
  33. Chain VZONE_local_IN (1 references)
  34. target prot opt source destination
  35. RETURN all -- localhost localhost
  36. two-local all -- anywhere anywhere
  37. RETURN all -- anywhere anywhere
  38. DROP all -- anywhere anywhere
  39.  
  40. Chain VZONE_local_OUT (1 references)
  41. target prot opt source destination
  42. RETURN all -- localhost localhost
  43. local-two all -- anywhere anywhere
  44. RETURN all -- anywhere anywhere
  45. DROP all -- anywhere anywhere
  46.  
  47. Chain VZONE_one (1 references)
  48. target prot opt source destination
  49. RETURN all -- anywhere anywhere
  50. two-one all -- anywhere anywhere
  51. RETURN all -- anywhere anywhere
  52. DROP all -- anywhere anywhere
  53.  
  54. Chain VZONE_two (1 references)
  55. target prot opt source destination
  56. RETURN all -- anywhere anywhere
  57. one-two all -- anywhere anywhere
  58. RETURN all -- anywhere anywhere
  59. DROP all -- anywhere anywhere
  60.  
  61. Chain local-two (1 references)
  62. target prot opt source destination
  63. RETURN all -- anywhere anywhere /* local-two-10 */ state ESTABLISHED
  64. LOG all -- anywhere anywhere /* local-two-10000 default-action drop */ LOG level warning prefix `[local-two-default-D]'
  65. DROP all -- anywhere anywhere /* local-two-10000 default-action drop */
  66.  
  67. Chain one-two (1 references)
  68. target prot opt source destination
  69. RETURN tcp -- anywhere anywhere /* one-two-10 */ tcp dpt:www
  70. LOG all -- anywhere anywhere /* one-two-10000 default-action drop */ LOG level warning prefix `[one-two-default-D]'
  71. DROP all -- anywhere anywhere /* one-two-10000 default-action drop */
  72.  
  73. Chain two-local (1 references)
  74. target prot opt source destination
  75. RETURN tcp -- anywhere anywhere /* two-local-10 */ tcp dpt:ssh
  76. DROP all -- anywhere anywhere /* two-local-10000 default-action drop */
  77.  
  78. Chain two-one (1 references)
  79. target prot opt source destination
  80. RETURN all -- anywhere anywhere /* two-one-10 */ state ESTABLISHED
  81. DROP all -- anywhere anywhere /* two-one-10000 default-action drop */
  82. [edit]
  83. vyatta@vyatta#vyatta@vyatta# delete firewall name two-one enable-default-log
  84. [edit]
  85. vyatta@vyatta# commit
  86. [edit]
  87. vyatta@vyatta# sudo iptables -L
  88. Chain INPUT (policy ACCEPT)
  89. target prot opt source destination
  90. VZONE_local_IN all -- anywhere anywhere
  91. VYATTA_POST_FW_HOOK all -- anywhere anywhere
  92.  
  93. Chain FORWARD (policy ACCEPT)
  94. target prot opt source destination
  95. VYATTA_IN_HOOK all -- anywhere anywhere
  96. VYATTA_OUT_HOOK all -- anywhere anywhere
  97. VZONE_one all -- anywhere anywhere
  98. VZONE_two all -- anywhere anywhere
  99. VYATTA_POST_FW_HOOK all -- anywhere anywhere
  100.  
  101. Chain OUTPUT (policy ACCEPT)
  102. target prot opt source destination
  103. VZONE_local_OUT all -- anywhere anywhere
  104.  
  105. Chain VYATTA_IN_HOOK (1 references)
  106. target prot opt source destination
  107.  
  108. Chain VYATTA_OUT_HOOK (1 references)
  109. target prot opt source destination
  110.  
  111. Chain VYATTA_POST_FW_HOOK (2 references)
  112. target prot opt source destination
  113. ACCEPT all -- anywhere anywhere
  114.  
  115. Chain VZONE_local_IN (1 references)
  116. target prot opt source destination
  117. RETURN all -- localhost localhost
  118. two-local all -- anywhere anywhere
  119. RETURN all -- anywhere anywhere
  120. DROP all -- anywhere anywhere
  121.  
  122. Chain VZONE_local_OUT (1 references)
  123. target prot opt source destination
  124. RETURN all -- localhost localhost
  125. local-two all -- anywhere anywhere
  126. RETURN all -- anywhere anywhere
  127. DROP all -- anywhere anywhere
  128.  
  129. Chain VZONE_one (1 references)
  130. target prot opt source destination
  131. RETURN all -- anywhere anywhere
  132. two-one all -- anywhere anywhere
  133. RETURN all -- anywhere anywhere
  134. DROP all -- anywhere anywhere
  135.  
  136. Chain VZONE_two (1 references)
  137. target prot opt source destination
  138. RETURN all -- anywhere anywhere
  139. one-two all -- anywhere anywhere
  140. RETURN all -- anywhere anywhere
  141. DROP all -- anywhere anywhere
  142.  
  143. Chain local-two (1 references)
  144. target prot opt source destination
  145. RETURN all -- anywhere anywhere /* local-two-10 */ state ESTABLISHED
  146. LOG all -- anywhere anywhere /* local-two-10000 default-action drop */ LOG level warning prefix `[local-two-default-D]'
  147. DROP all -- anywhere anywhere /* local-two-10000 default-action drop */
  148.  
  149. Chain one-two (1 references)
  150. target prot opt source destination
  151. RETURN tcp -- anywhere anywhere /* one-two-10 */ tcp dpt:www
  152. LOG all -- anywhere anywhere /* one-two-10000 default-action drop */ LOG level warning prefix `[one-two-default-D]'
  153. DROP all -- anywhere anywhere /* one-two-10000 default-action drop */
  154.  
  155. Chain two-local (1 references)
  156. target prot opt source destination
  157. RETURN tcp -- anywhere anywhere /* two-local-10 */ tcp dpt:ssh
  158. DROP all -- anywhere anywhere /* two-local-10000 default-action drop */
  159.  
  160. Chain two-one (1 references)
  161. target prot opt source destination
  162. RETURN all -- anywhere anywhere /* two-one-10 */ state ESTABLISHED
  163. DROP all -- anywhere anywhere /* two-one-10000 default-action drop */
  164. [edit]
  165. vyatta@vyatta#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement