Advertisement
gregmark

OpenStack or Bust, Part 10: cmp node iptables filters

Mar 21st, 2013
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.18 KB | None | 0 0
  1. ### iptables on the Compute node _after_ vm instance 1 is launched and nova secgroup rules added
  2.  
  3. root@kvm-sn-10i:~# iptables -L -n
  4. Chain INPUT (policy ACCEPT)
  5. target     prot opt source               destination
  6. nova-compute-INPUT  all  --  0.0.0.0/0            0.0.0.0/0
  7.  
  8. Chain FORWARD (policy ACCEPT)
  9. target     prot opt source               destination
  10. nova-filter-top  all  --  0.0.0.0/0            0.0.0.0/0
  11. nova-compute-FORWARD  all  --  0.0.0.0/0            0.0.0.0/0
  12.  
  13. Chain OUTPUT (policy ACCEPT)
  14. target     prot opt source               destination
  15. nova-filter-top  all  --  0.0.0.0/0            0.0.0.0/0
  16. nova-compute-OUTPUT  all  --  0.0.0.0/0            0.0.0.0/0
  17.  
  18. Chain nova-compute-FORWARD (1 references)
  19. target     prot opt source               destination
  20.  
  21. Chain nova-compute-INPUT (1 references)
  22. target     prot opt source               destination
  23.  
  24. Chain nova-compute-OUTPUT (1 references)
  25. target     prot opt source               destination
  26.  
  27. Chain nova-compute-inst-1 (1 references)   # <--- Chain for our vm instance
  28. target     prot opt source               destination
  29. DROP       all  --  0.0.0.0/0            0.0.0.0/0            state INVALID
  30. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED
  31. nova-compute-provider  all  --  0.0.0.0/0            0.0.0.0/0
  32. ACCEPT     udp  --  50.50.1.1            0.0.0.0/0            udp spt:67 dpt:68
  33. ACCEPT     all  --  50.50.1.0/24         0.0.0.0/0
  34. ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:22   # <-- Here
  35. ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0                         # <-- And here
  36. nova-compute-sg-fallback  all  --  0.0.0.0/0            0.0.0.0/0
  37.  
  38. Chain nova-compute-local (1 references)
  39. target     prot opt source               destination
  40. nova-compute-inst-1  all  --  0.0.0.0/0            50.50.1.2
  41.  
  42. Chain nova-compute-provider (1 references)
  43. target     prot opt source               destination
  44.  
  45. Chain nova-compute-sg-fallback (1 references)
  46. target     prot opt source               destination
  47. DROP       all  --  0.0.0.0/0            0.0.0.0/0
  48.  
  49. Chain nova-filter-top (2 references)
  50. target     prot opt source               destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement