Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat /etc/sysconfig/iptables
- # Generated by iptables-save v1.4.21 on Mon Feb 15 00:11:48 2016
- *raw
- :PREROUTING ACCEPT [193832:81269428]
- :OUTPUT ACCEPT [191226:24024460]
- :neutron-openvswi-OUTPUT - [0:0]
- :neutron-openvswi-PREROUTING - [0:0]
- -A PREROUTING -j neutron-openvswi-PREROUTING
- -A OUTPUT -j neutron-openvswi-OUTPUT
- COMMIT
- # Completed on Mon Feb 15 00:11:48 2016
- # Generated by iptables-save v1.4.21 on Mon Feb 15 00:11:48 2016
- *mangle
- :PREROUTING ACCEPT [226880:127908678]
- :INPUT ACCEPT [226880:127908678]
- :FORWARD ACCEPT [0:0]
- :OUTPUT ACCEPT [219853:27213468]
- :POSTROUTING ACCEPT [219853:27213468]
- :neutron-openvswi-FORWARD - [0:0]
- :neutron-openvswi-INPUT - [0:0]
- :neutron-openvswi-OUTPUT - [0:0]
- :neutron-openvswi-POSTROUTING - [0:0]
- :neutron-openvswi-PREROUTING - [0:0]
- :neutron-openvswi-mark - [0:0]
- :nova-api-POSTROUTING - [0:0]
- -A PREROUTING -j neutron-openvswi-PREROUTING
- -A INPUT -j neutron-openvswi-INPUT
- -A FORWARD -j neutron-openvswi-FORWARD
- -A OUTPUT -j neutron-openvswi-OUTPUT
- -A POSTROUTING -j neutron-openvswi-POSTROUTING
- -A POSTROUTING -j nova-api-POSTROUTING
- -A neutron-openvswi-PREROUTING -j neutron-openvswi-mark
- COMMIT
- # Completed on Mon Feb 15 00:11:48 2016
- # Generated by iptables-save v1.4.21 on Mon Feb 15 00:11:48 2016
- *nat
- :PREROUTING ACCEPT [28:4379]
- :INPUT ACCEPT [28:4379]
- :OUTPUT ACCEPT [2128:135288]
- :POSTROUTING ACCEPT [2128:135288]
- :neutron-openvswi-OUTPUT - [0:0]
- :neutron-openvswi-POSTROUTING - [0:0]
- :neutron-openvswi-PREROUTING - [0:0]
- :neutron-openvswi-float-snat - [0:0]
- :neutron-openvswi-snat - [0:0]
- :neutron-postrouting-bottom - [0:0]
- :nova-api-OUTPUT - [0:0]
- :nova-api-POSTROUTING - [0:0]
- :nova-api-PREROUTING - [0:0]
- :nova-api-float-snat - [0:0]
- :nova-api-snat - [0:0]
- :nova-postrouting-bottom - [0:0]
- -A PREROUTING -j neutron-openvswi-PREROUTING
- -A PREROUTING -j nova-api-PREROUTING
- -A OUTPUT -j neutron-openvswi-OUTPUT
- -A OUTPUT -j nova-api-OUTPUT
- -A POSTROUTING -s 172.24.4.224/28 -o eth0 -m comment --comment "000 nat" -j MASQUERADE
- -A POSTROUTING -j neutron-openvswi-POSTROUTING
- -A POSTROUTING -j neutron-postrouting-bottom
- -A POSTROUTING -j nova-api-POSTROUTING
- -A POSTROUTING -j nova-postrouting-bottom
- -A neutron-openvswi-snat -j neutron-openvswi-float-snat
- -A neutron-postrouting-bottom -m comment --comment "Perform source NAT on outgoing traffic." -j neutron-openvswi-snat
- -A nova-api-snat -j nova-api-float-snat
- -A nova-postrouting-bottom -j nova-api-snat
- COMMIT
- # Completed on Mon Feb 15 00:11:48 2016
- # Generated by iptables-save v1.4.21 on Mon Feb 15 00:11:48 2016
- *filter
- :INPUT ACCEPT [2:104]
- :FORWARD ACCEPT [0:0]
- :OUTPUT ACCEPT [4:208]
- :neutron-filter-top - [0:0]
- :neutron-openvswi-FORWARD - [0:0]
- :neutron-openvswi-INPUT - [0:0]
- :neutron-openvswi-OUTPUT - [0:0]
- :neutron-openvswi-local - [0:0]
- :neutron-openvswi-sg-chain - [0:0]
- :neutron-openvswi-sg-fallback - [0:0]
- :nova-api-FORWARD - [0:0]
- :nova-api-INPUT - [0:0]
- :nova-api-OUTPUT - [0:0]
- :nova-api-local - [0:0]
- :nova-filter-top - [0:0]
- -A INPUT -j neutron-openvswi-INPUT
- -A INPUT -j nova-api-INPUT
- -A INPUT -s 192.168.20.192/32 -p tcp -m multiport --dports 5671,5672 -m comment --comment "001 amqp incoming amqp_192.168.20.192" -j ACCEPT
- -A INPUT -p tcp -m multiport --dports 8777 -m comment --comment "001 ceilometer-api incoming ceilometer_api" -j ACCEPT
- -A INPUT -s 192.168.20.192/32 -p tcp -m multiport --dports 3260 -m comment --comment "001 cinder incoming cinder_192.168.20.192" -j ACCEPT
- -A INPUT -p tcp -m multiport --dports 8776 -m comment --comment "001 cinder-api incoming cinder_api" -j ACCEPT
- -A INPUT -p tcp -m multiport --dports 9292 -m comment --comment "001 glance incoming glance_api" -j ACCEPT
- -A INPUT -p tcp -m multiport --dports 8004 -m comment --comment "001 heat incoming heat" -j ACCEPT
- -A INPUT -p tcp -m multiport --dports 80 -m comment --comment "001 horizon 80 incoming" -j ACCEPT
- -A INPUT -p tcp -m multiport --dports 5000,35357 -m comment --comment "001 keystone incoming keystone" -j ACCEPT
- -A INPUT -s 192.168.20.192/32 -p tcp -m multiport --dports 3306 -m comment --comment "001 mariadb incoming mariadb_192.168.20.192" -j ACCEPT
- -A INPUT -s 192.168.20.192/32 -p tcp -m multiport --dports 27017 -m comment --comment "001 mongodb-server incoming mongodb_server" -j ACCEPT
- -A INPUT -p tcp -m multiport --dports 80 -m comment --comment "001 nagios incoming" -j ACCEPT
- -A INPUT -s 192.168.20.192/32 -p tcp -m multiport --dports 5666 -m comment --comment "001 nagios-nrpe incoming nagios_nrpe" -j ACCEPT
- -A INPUT -p udp -m multiport --dports 67 -m comment --comment "001 neutron dhcp in incoming neutron_dhcp_in_192.168.20.192" -j ACCEPT
- -A INPUT -p tcp -m multiport --dports 9696 -m comment --comment "001 neutron server incoming neutron_server_192.168.20.192" -j ACCEPT
- -A INPUT -s 192.168.20.192/32 -p udp -m multiport --dports 4789 -m comment --comment "001 neutron tunnel port incoming neutron_tunnel_192.168.20.192_192.168.20.192" -j ACCEPT
- -A INPUT -p tcp -m multiport --dports 8773,8774,8775 -m comment --comment "001 nova api incoming nova_api" -j ACCEPT
- -A INPUT -s 192.168.20.192/32 -p tcp -m multiport --dports 5900:5999 -m comment --comment "001 nova compute incoming nova_compute" -j ACCEPT
- -A INPUT -s 192.168.20.192/32 -p tcp -m multiport --dports 16509,49152:49215 -m comment --comment "001 nova qemu migration incoming nova_qemu_migration_192.168.20.192_192.168.20.192" -j ACCEPT
- -A INPUT -p tcp -m multiport --dports 6080 -m comment --comment "001 novncproxy incoming" -j ACCEPT
- -A INPUT -s 192.168.20.192/32 -p tcp -m multiport --dports 6379 -m comment --comment "001 redis service incoming redis service from 192.168.20.192" -j ACCEPT
- -A INPUT -p tcp -m multiport --dports 8386 -m comment --comment "001 sahara api incoming sahara-api" -j ACCEPT
- -A INPUT -p tcp -m multiport --dports 8080 -m comment --comment "001 swift proxy incoming swift_proxy" -j ACCEPT
- -A INPUT -s 192.168.20.192/32 -p tcp -m multiport --dports 6000,6001,6002,873 -m comment --comment "001 swift storage and rsync incoming swift_storage_and_rsync_192.168.20.192" -j ACCEPT
- -A FORWARD -i br-ex -m comment --comment "000 forward in" -j ACCEPT
- -A FORWARD -o br-ex -m comment --comment "000 forward out" -j ACCEPT
- -A FORWARD -j neutron-filter-top
- -A FORWARD -j neutron-openvswi-FORWARD
- -A FORWARD -j nova-filter-top
- -A FORWARD -j nova-api-FORWARD
- -A OUTPUT -j neutron-filter-top
- -A OUTPUT -j neutron-openvswi-OUTPUT
- -A OUTPUT -p udp -m multiport --dports 68 -m comment --comment "001 neutron dhcp out outgoing neutron_dhcp_out_192.168.20.192" -j ACCEPT
- -A OUTPUT -j nova-filter-top
- -A OUTPUT -j nova-api-OUTPUT
- -A neutron-filter-top -j neutron-openvswi-local
- -A neutron-openvswi-sg-chain -j ACCEPT
- -A neutron-openvswi-sg-fallback -m comment --comment "Default drop rule for unmatched traffic." -j DROP
- -A nova-api-INPUT -d 192.168.20.192/32 -
Add Comment
Please, Sign In to add comment