CentOS Linux 6.10 disable firewall

How do I disable firewall in CentOS Linux version 6.10 using ssh command option?

To disable firewall on CentOS Linux 6.10, type the following three commands as root user:

service iptables save
service iptables stop
chkconfig iptables off

How to disable IPv6 firewall on a CentOS 6.10

Again, type the following command as the root user to disable firewall for IPv6 :

service ip6tables save
service ip6tables stop
chkconfig ip6tables off