Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@openstack:~/scripts# iptables -L -t nat -n
- Chain PREROUTING (policy ACCEPT)
- target prot opt source destination
- nova-compute-PREROUTING all -- 0.0.0.0/0 0.0.0.0/0
- nova-api-PREROUTING all -- 0.0.0.0/0 0.0.0.0/0
- nova-network-PREROUTING all -- 0.0.0.0/0 0.0.0.0/0
- Chain INPUT (policy ACCEPT)
- target prot opt source destination
- Chain OUTPUT (policy ACCEPT)
- target prot opt source destination
- nova-compute-OUTPUT all -- 0.0.0.0/0 0.0.0.0/0
- nova-api-OUTPUT all -- 0.0.0.0/0 0.0.0.0/0
- nova-network-OUTPUT all -- 0.0.0.0/0 0.0.0.0/0
- Chain POSTROUTING (policy ACCEPT)
- target prot opt source destination
- MASQUERADE tcp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
- MASQUERADE udp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
- MASQUERADE all -- 192.168.122.0/24 !192.168.122.0/24
- nova-compute-POSTROUTING all -- 0.0.0.0/0 0.0.0.0/0
- nova-api-POSTROUTING all -- 0.0.0.0/0 0.0.0.0/0
- nova-network-POSTROUTING all -- 0.0.0.0/0 0.0.0.0/0
- nova-postrouting-bottom all -- 0.0.0.0/0 0.0.0.0/0
- Chain nova-api-OUTPUT (1 references)
- target prot opt source destination
- Chain nova-api-POSTROUTING (1 references)
- target prot opt source destination
- Chain nova-api-PREROUTING (1 references)
- target prot opt source destination
- Chain nova-api-float-snat (1 references)
- target prot opt source destination
- Chain nova-api-snat (1 references)
- target prot opt source destination
- nova-api-float-snat all -- 0.0.0.0/0 0.0.0.0/0
- Chain nova-compute-OUTPUT (1 references)
- target prot opt source destination
- Chain nova-compute-POSTROUTING (1 references)
- target prot opt source destination
- Chain nova-compute-PREROUTING (1 references)
- target prot opt source destination
- Chain nova-compute-float-snat (1 references)
- target prot opt source destination
- Chain nova-compute-snat (1 references)
- target prot opt source destination
- nova-compute-float-snat all -- 0.0.0.0/0 0.0.0.0/0
- Chain nova-network-OUTPUT (1 references)
- target prot opt source destination
- DNAT udp -- 0.0.0.0/0 192.168.1.160 udp dpt:1000 to:172.16.1.34:1194
- DNAT all -- 0.0.0.0/0 10.0.0.33 to:172.16.1.35
- Chain nova-network-POSTROUTING (1 references)
- target prot opt source destination
- ACCEPT all -- 172.16.1.32/27 192.168.1.160
- ACCEPT all -- 172.16.1.32/27 10.128.0.0/24
- ACCEPT all -- 172.16.1.32/27 172.16.1.32/27 ! ctstate DNAT
- Chain nova-network-PREROUTING (1 references)
- target prot opt source destination
- DNAT tcp -- 0.0.0.0/0 169.254.169.254 tcp dpt:80 to:192.168.1.160:8775
- DNAT udp -- 0.0.0.0/0 192.168.1.160 udp dpt:1000 to:172.16.1.34:1194
- DNAT all -- 0.0.0.0/0 10.0.0.33 to:172.16.1.35
- Chain nova-network-float-snat (1 references)
- target prot opt source destination
- SNAT all -- 172.16.1.35 0.0.0.0/0 to:10.0.0.33
- Chain nova-network-snat (1 references)
- target prot opt source destination
- nova-network-float-snat all -- 0.0.0.0/0 0.0.0.0/0
- SNAT all -- 172.16.1.32/27 0.0.0.0/0 to:10.0.0.3
- Chain nova-postrouting-bottom (1 references)
- target prot opt source destination
- nova-compute-snat all -- 0.0.0.0/0 0.0.0.0/0
- nova-api-snat all -- 0.0.0.0/0 0.0.0.0/0
- nova-network-snat all -- 0.0.0.0/0 0.0.0.0/0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement