Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.92 KB | None | 0 0
  1. vyatta@vyatta:~$ configure
  2. [edit]
  3. vyatta@vyatta# delete firewall name two-local enable-default-log
  4. [edit]
  5. vyatta@vyatta# commit
  6. [edit]
  7. vyatta@vyatta# sudo iptables -L
  8. Chain INPUT (policy ACCEPT)
  9. target prot opt source destination
  10. VZONE_local_IN all -- anywhere anywhere
  11. VYATTA_POST_FW_HOOK all -- anywhere anywhere
  12.  
  13. Chain FORWARD (policy ACCEPT)
  14. target prot opt source destination
  15. VYATTA_IN_HOOK all -- anywhere anywhere
  16. VYATTA_OUT_HOOK all -- anywhere anywhere
  17. VZONE_one all -- anywhere anywhere
  18. VZONE_two all -- anywhere anywhere
  19. VYATTA_POST_FW_HOOK all -- anywhere anywhere
  20.  
  21. Chain OUTPUT (policy ACCEPT)
  22. target prot opt source destination
  23. VZONE_local_OUT all -- anywhere anywhere
  24.  
  25. Chain VYATTA_IN_HOOK (1 references)
  26. target prot opt source destination
  27.  
  28. Chain VYATTA_OUT_HOOK (1 references)
  29. target prot opt source destination
  30.  
  31. Chain VYATTA_POST_FW_HOOK (2 references)
  32. target prot opt source destination
  33. ACCEPT all -- anywhere anywhere
  34.  
  35. Chain VZONE_local_IN (1 references)
  36. target prot opt source destination
  37. RETURN all -- localhost localhost
  38. two-local all -- anywhere anywhere
  39. RETURN all -- anywhere anywhere
  40. DROP all -- anywhere anywhere
  41.  
  42. Chain VZONE_local_OUT (1 references)
  43. target prot opt source destination
  44. RETURN all -- localhost localhost
  45. local-two all -- anywhere anywhere
  46. RETURN all -- anywhere anywhere
  47. DROP all -- anywhere anywhere
  48.  
  49. Chain VZONE_one (1 references)
  50. target prot opt source destination
  51. RETURN all -- anywhere anywhere
  52. two-one all -- anywhere anywhere
  53. RETURN all -- anywhere anywhere
  54. DROP all -- anywhere anywhere
  55.  
  56. Chain VZONE_two (1 references)
  57. target prot opt source destination
  58. RETURN all -- anywhere anywhere
  59. one-two all -- anywhere anywhere
  60. RETURN all -- anywhere anywhere
  61. DROP all -- anywhere anywhere
  62.  
  63. Chain local-two (1 references)
  64. target prot opt source destination
  65. RETURN all -- anywhere anywhere /* local-two-10 */ state ESTABLISHED
  66. LOG all -- anywhere anywhere /* local-two-10000 default-action drop */ LOG level warning prefix `[local-two-default-D]'
  67. DROP all -- anywhere anywhere /* local-two-10000 default-action drop */
  68.  
  69. Chain one-two (1 references)
  70. target prot opt source destination
  71. RETURN tcp -- anywhere anywhere /* one-two-10 */ tcp dpt:www
  72. LOG all -- anywhere anywhere /* one-two-10000 default-action drop */ LOG level warning prefix `[one-two-default-D]'
  73. DROP all -- anywhere anywhere /* one-two-10000 default-action drop */
  74.  
  75. Chain two-local (1 references)
  76. target prot opt source destination
  77. RETURN tcp -- anywhere anywhere /* two-local-10 */ tcp dpt:ssh
  78. DROP all -- anywhere anywhere /* two-local-10000 default-action drop */
  79.  
  80. Chain two-one (1 references)
  81. target prot opt source destination
  82. RETURN all -- anywhere anywhere /* two-one-10 */ state ESTABLISHED
  83. LOG all -- anywhere anywhere /* two-one-10000 default-action drop */ LOG level warning prefix `[two-one-default-D]'
  84. DROP all -- anywhere anywhere /* two-one-10000 default-action drop */
  85. [edit]
  86. vyatta@vyatta#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement