Advertisement
Guest User

nstats

a guest
May 18th, 2012
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.28 KB | None | 0 0
  1. root@openstack:~/scripts# iptables -L -t nat -n
  2. Chain PREROUTING (policy ACCEPT)
  3. target prot opt source destination
  4. nova-compute-PREROUTING all -- 0.0.0.0/0 0.0.0.0/0
  5. nova-api-PREROUTING all -- 0.0.0.0/0 0.0.0.0/0
  6. nova-network-PREROUTING all -- 0.0.0.0/0 0.0.0.0/0
  7.  
  8. Chain INPUT (policy ACCEPT)
  9. target prot opt source destination
  10.  
  11. Chain OUTPUT (policy ACCEPT)
  12. target prot opt source destination
  13. nova-compute-OUTPUT all -- 0.0.0.0/0 0.0.0.0/0
  14. nova-api-OUTPUT all -- 0.0.0.0/0 0.0.0.0/0
  15. nova-network-OUTPUT all -- 0.0.0.0/0 0.0.0.0/0
  16.  
  17. Chain POSTROUTING (policy ACCEPT)
  18. target prot opt source destination
  19. MASQUERADE tcp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
  20. MASQUERADE udp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
  21. MASQUERADE all -- 192.168.122.0/24 !192.168.122.0/24
  22. nova-compute-POSTROUTING all -- 0.0.0.0/0 0.0.0.0/0
  23. nova-api-POSTROUTING all -- 0.0.0.0/0 0.0.0.0/0
  24. nova-network-POSTROUTING all -- 0.0.0.0/0 0.0.0.0/0
  25. nova-postrouting-bottom all -- 0.0.0.0/0 0.0.0.0/0
  26.  
  27. Chain nova-api-OUTPUT (1 references)
  28. target prot opt source destination
  29.  
  30. Chain nova-api-POSTROUTING (1 references)
  31. target prot opt source destination
  32.  
  33. Chain nova-api-PREROUTING (1 references)
  34. target prot opt source destination
  35.  
  36. Chain nova-api-float-snat (1 references)
  37. target prot opt source destination
  38.  
  39. Chain nova-api-snat (1 references)
  40. target prot opt source destination
  41. nova-api-float-snat all -- 0.0.0.0/0 0.0.0.0/0
  42.  
  43. Chain nova-compute-OUTPUT (1 references)
  44. target prot opt source destination
  45.  
  46. Chain nova-compute-POSTROUTING (1 references)
  47. target prot opt source destination
  48.  
  49. Chain nova-compute-PREROUTING (1 references)
  50. target prot opt source destination
  51.  
  52. Chain nova-compute-float-snat (1 references)
  53. target prot opt source destination
  54.  
  55. Chain nova-compute-snat (1 references)
  56. target prot opt source destination
  57. nova-compute-float-snat all -- 0.0.0.0/0 0.0.0.0/0
  58.  
  59. Chain nova-network-OUTPUT (1 references)
  60. target prot opt source destination
  61. DNAT udp -- 0.0.0.0/0 192.168.1.160 udp dpt:1000 to:172.16.1.34:1194
  62. DNAT all -- 0.0.0.0/0 10.0.0.33 to:172.16.1.35
  63.  
  64. Chain nova-network-POSTROUTING (1 references)
  65. target prot opt source destination
  66. ACCEPT all -- 172.16.1.32/27 192.168.1.160
  67. ACCEPT all -- 172.16.1.32/27 10.128.0.0/24
  68. ACCEPT all -- 172.16.1.32/27 172.16.1.32/27 ! ctstate DNAT
  69.  
  70. Chain nova-network-PREROUTING (1 references)
  71. target prot opt source destination
  72. DNAT tcp -- 0.0.0.0/0 169.254.169.254 tcp dpt:80 to:192.168.1.160:8775
  73. DNAT udp -- 0.0.0.0/0 192.168.1.160 udp dpt:1000 to:172.16.1.34:1194
  74. DNAT all -- 0.0.0.0/0 10.0.0.33 to:172.16.1.35
  75.  
  76. Chain nova-network-float-snat (1 references)
  77. target prot opt source destination
  78. SNAT all -- 172.16.1.35 0.0.0.0/0 to:10.0.0.33
  79.  
  80. Chain nova-network-snat (1 references)
  81. target prot opt source destination
  82. nova-network-float-snat all -- 0.0.0.0/0 0.0.0.0/0
  83. SNAT all -- 172.16.1.32/27 0.0.0.0/0 to:10.0.0.3
  84.  
  85. Chain nova-postrouting-bottom (1 references)
  86. target prot opt source destination
  87. nova-compute-snat all -- 0.0.0.0/0 0.0.0.0/0
  88. nova-api-snat all -- 0.0.0.0/0 0.0.0.0/0
  89. nova-network-snat all -- 0.0.0.0/0 0.0.0.0/0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement