save iptables configuration upon reboot

Long time no touch iptables stuff, here is the command to allow  http/https protocol:


iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
iptables-save | tee /etc/sysconfig/iptables