Guest User

Untitled

a guest
Jun 14th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. [root@queenvm1 ~(keystone_admin)]# iptables -t nat -S
  2. -P PREROUTING ACCEPT
  3. -P INPUT ACCEPT
  4. -P OUTPUT ACCEPT
  5. -P POSTROUTING ACCEPT
  6. -N neutron-l3-agent-OUTPUT
  7. -N neutron-l3-agent-POSTROUTING
  8. -N neutron-l3-agent-PREROUTING
  9. -N neutron-l3-agent-float-snat
  10. -N neutron-l3-agent-snat
  11. -N neutron-postrouting-bottom
  12. -A PREROUTING -j neutron-l3-agent-PREROUTING
  13. -A OUTPUT -j neutron-l3-agent-OUTPUT
  14. -A POSTROUTING -j neutron-l3-agent-POSTROUTING
  15. -A POSTROUTING -j neutron-postrouting-bottom
  16. -A neutron-l3-agent-OUTPUT -d 172.30.70.74/32 -j DNAT --to-destination 10.10.10.5
  17. -A neutron-l3-agent-OUTPUT -d 172.30.70.75/32 -j DNAT --to-destination 10.10.10.4
  18. -A neutron-l3-agent-OUTPUT -d 172.30.70.76/32 -j DNAT --to-destination 10.10.10.9
  19. -A neutron-l3-agent-POSTROUTING ! -i qg-abda25e2-e7 ! -o qg-abda25e2-e7 -m conntrack ! --ctstate DNAT -j ACCEPT
  20. -A neutron-l3-agent-PREROUTING -d 169.254.169.254/32 -i qr-+ -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 9697
  21. -A neutron-l3-agent-PREROUTING -d 172.30.70.74/32 -j DNAT --to-destination 10.10.10.5
  22. -A neutron-l3-agent-PREROUTING -d 172.30.70.75/32 -j DNAT --to-destination 10.10.10.4
  23. -A neutron-l3-agent-PREROUTING -d 172.30.70.76/32 -j DNAT --to-destination 10.10.10.9
  24. -A neutron-l3-agent-float-snat -s 10.10.10.5/32 -j SNAT --to-source 172.30.70.74
  25. -A neutron-l3-agent-float-snat -s 10.10.10.4/32 -j SNAT --to-source 172.30.70.75
  26. -A neutron-l3-agent-float-snat -s 10.10.10.9/32 -j SNAT --to-source 172.30.70.76
  27. -A neutron-l3-agent-snat -j neutron-l3-agent-float-snat
  28. -A neutron-l3-agent-snat -o qg-abda25e2-e7 -j SNAT --to-source 172.30.70.17
  29. -A neutron-l3-agent-snat -m mark ! --mark 0x2/0xffff -m conntrack --ctstate DNAT -j SNAT --to-source 172.30.70.17
  30. -A neutron-postrouting-bottom -m comment --comment "Perform source NAT on outgoing traffic." -j neutron-l3-agent-snat
Add Comment
Please, Sign In to add comment